зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1447578 part 1 - Remove unused parameters from MacroAssembler constructor. r=luke
--HG-- extra : rebase_source : 0c006fa71a740810b796a761e70cd8a1e4f9d8d7
This commit is contained in:
Родитель
f5754d679a
Коммит
0ac9c5c200
|
@ -2803,8 +2803,7 @@ MacroAssembler::alignJitStackBasedOnNArgs(uint32_t nargs)
|
|||
|
||||
// ===============================================================
|
||||
|
||||
MacroAssembler::MacroAssembler(JSContext* cx, IonScript* ion,
|
||||
JSScript* script, jsbytecode* pc)
|
||||
MacroAssembler::MacroAssembler(JSContext* cx)
|
||||
: framePushed_(0),
|
||||
#ifdef DEBUG
|
||||
inCall_(false),
|
||||
|
@ -2822,11 +2821,6 @@ MacroAssembler::MacroAssembler(JSContext* cx, IonScript* ion,
|
|||
initWithAllocator();
|
||||
armbuffer_.id = GetJitContext()->getNextAssemblerId();
|
||||
#endif
|
||||
if (ion) {
|
||||
setFramePushed(ion->frameSize());
|
||||
if (pc && cx->runtime()->geckoProfiler().enabled())
|
||||
enableProfilingInstrumentation();
|
||||
}
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
@ -366,8 +366,7 @@ class MacroAssembler : public MacroAssemblerSpecific
|
|||
|
||||
// This constructor should only be used when there is no JitContext active
|
||||
// (for example, Trampoline-$(ARCH).cpp and IonCaches.cpp).
|
||||
explicit MacroAssembler(JSContext* cx, IonScript* ion = nullptr,
|
||||
JSScript* script = nullptr, jsbytecode* pc = nullptr);
|
||||
explicit MacroAssembler(JSContext* cx);
|
||||
|
||||
// wasm compilation handles its own JitContext-pushing
|
||||
struct WasmToken {};
|
||||
|
|
Загрузка…
Ссылка в новой задаче