зеркало из https://github.com/mozilla/gecko-dev.git
Bug 793905 - Prevent JM recompilation when generating Ion stubs. r=dvander
This commit is contained in:
Родитель
be6dbb47fe
Коммит
12cb58e9f9
|
@ -557,15 +557,10 @@ class CallCompiler : public BaseCompiler
|
|||
{
|
||||
RecompilationMonitor monitor(cx);
|
||||
|
||||
if (f.script()->function()) {
|
||||
f.script()->uninlineable = true;
|
||||
MarkTypeObjectFlags(cx, f.script()->function(), types::OBJECT_FLAG_UNINLINEABLE);
|
||||
}
|
||||
|
||||
/* Don't touch the IC if the call triggered a recompilation. */
|
||||
if (monitor.recompiled())
|
||||
return true;
|
||||
|
||||
/*
|
||||
* When IonMonkey is enabled we never inline in JM. So do not cause any
|
||||
* recompilation by setting the UNINLINEABLE flag.
|
||||
*/
|
||||
JS_ASSERT(!f.regs.inlined());
|
||||
|
||||
Assembler masm;
|
||||
|
|
Загрузка…
Ссылка в новой задаче