Remove JSOP_SPREADCALLARRAY and just use JSOP_NEWARRAY again.

This commit is contained in:
wolfbeast 2019-06-16 23:13:47 +00:00 committed by Roy Tam
commit a6bb928fa4
7 changed files with 9 additions and 25 deletions

View file

@ -2049,12 +2049,6 @@ BaselineCompiler::emit_JSOP_NEWARRAY()
return true;
}
bool
BaselineCompiler::emit_JSOP_SPREADCALLARRAY()
{
return emit_JSOP_NEWARRAY();
}
typedef ArrayObject* (*NewArrayCopyOnWriteFn)(JSContext*, HandleArrayObject, gc::InitialHeap);
const VMFunction jit::NewArrayCopyOnWriteInfo =
FunctionInfo<NewArrayCopyOnWriteFn>(js::NewDenseCopyOnWriteArray, "NewDenseCopyOnWriteArray");