mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 773731 - Fix UseNewType pattern matching. (r=bhackett)
This commit is contained in:
parent
a262ed104f
commit
9ed44eabd2
@ -2455,6 +2455,8 @@ BEGIN_CASE(JSOP_FUNCALL)
|
||||
|
||||
InitialFrameFlags initial = construct ? INITIAL_CONSTRUCT : INITIAL_NONE;
|
||||
|
||||
bool newType = cx->typeInferenceEnabled() && UseNewType(cx, script, regs.pc);
|
||||
|
||||
JSScript *newScript = fun->script();
|
||||
|
||||
if (newScript->compileAndGo && newScript->hasClearedGlobal()) {
|
||||
@ -2468,8 +2470,6 @@ BEGIN_CASE(JSOP_FUNCALL)
|
||||
SET_SCRIPT(regs.fp()->script());
|
||||
RESET_USE_METHODJIT();
|
||||
|
||||
bool newType = cx->typeInferenceEnabled() && UseNewType(cx, script, regs.pc);
|
||||
|
||||
#ifdef JS_METHODJIT
|
||||
if (!newType) {
|
||||
/* Try to ensure methods are method JIT'd. */
|
||||
|
Loading…
Reference in New Issue
Block a user