Bug 1338920 - Support JSOP_SPREADCALLARRAY in Ion r=h4writer
authorTed Campbell <tcampbell@mozilla.com>
Wed, 01 Mar 2017 21:35:39 -0500
changeset 351052 417a89dc9643e15e56e96a4bc73e70610fb8684c
parent 350998 c55f652b7ae25a922373a0119dffa650cab07aa6
child 351053 6cecf25056c1b9e318e0bcdedde721c06a5ddf4f
push id88794
push usercbook@mozilla.com
push dateTue, 04 Apr 2017 10:38:12 +0000
treeherdermozilla-inbound@1986a6f181d7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersh4writer
bugs1338920
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1338920 - Support JSOP_SPREADCALLARRAY in Ion r=h4writer MozReview-Commit-ID: 8FQILAzOVmO
js/src/jit/IonBuilder.cpp
--- 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();