Skip to content

Commit db90b50

Browse files
Disable recording information on x = Array
Change was to treat it as x = new Array if possible, recording additional information on array creation sites. The problem is with temporary register allocation/cleanup in some cases.
1 parent 57962d5 commit db90b50

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/Runtime/ByteCode/ByteCodeEmitter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8181,8 +8181,8 @@ void EmitCall(
81818181
// and replace the former with the latter to save 4 characters. What that means for us is that it, at least
81828182
// initially, uses the "Call" path. We want to guess that it _is_ just "new Array()" and change over to the
81838183
// "new" path, since then our native array handling can kick in.
8184-
EmitNew(pnode, byteCodeGenerator, funcInfo);
8185-
return;
8184+
/*EmitNew(pnode, byteCodeGenerator, funcInfo);
8185+
return;*/
81868186
}
81878187

81888188
unsigned int argCount = CountArguments(pnode->sxCall.pnodeArgs, &fSideEffectArgs) + (unsigned int)fIsPut;

0 commit comments

Comments
 (0)