mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 793905 - Prevent JM recompilation when generating Ion stubs. r=dvander
This commit is contained in:
parent
5577668b61
commit
8e88d60882
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user