Bug 1338920 - Support JSOP_SPREADCALLARRAY in Ion
MozReview-Commit-ID: 8FQILAzOVmO
--- a/js/src/jit/IonBuilder.cpp
+++ b/js/src/jit/IonBuilder.cpp
@@ -1956,16 +1956,17 @@ IonBuilder::inspectOpcode(JSOp op)
return Ok();
case JSOP_NEWINIT:
if (GET_UINT8(pc) == JSProto_Array)
return jsop_newarray(0);
return jsop_newobject();
case JSOP_NEWARRAY:
+ case JSOP_SPREADCALLARRAY:
return jsop_newarray(GET_UINT32(pc));
case JSOP_NEWARRAY_COPYONWRITE:
return jsop_newarray_copyonwrite();
case JSOP_NEWOBJECT:
return jsop_newobject();