Bug 958349 - Decompile {get,call}intrinsic opcodes in ExpressionDecompiler. (r=till)
authorShu-yu Guo <shu@rfrn.org>
Fri, 10 Jan 2014 02:25:34 -0800
changeset 162923 8581a249122bf54431903b33ece84077e59c50cb
parent 162922 1e4903ca67df1e513ffbd61d3765e07398e778d2
child 162924 2614c1884c63240826c68998dce9432de33b6fd4
push id25975
push userryanvm@gmail.com
push dateFri, 10 Jan 2014 19:46:47 +0000
treeherderautoland@e89afc241513 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstill
bugs958349
milestone29.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 958349 - Decompile {get,call}intrinsic opcodes in ExpressionDecompiler. (r=till)
js/src/jsopcode.cpp
--- a/js/src/jsopcode.cpp
+++ b/js/src/jsopcode.cpp
@@ -1507,16 +1507,18 @@ ExpressionDecompiler::decompilePC(jsbyte
         }
     }
 
     switch (op) {
       case JSOP_GETGNAME:
       case JSOP_CALLGNAME:
       case JSOP_NAME:
       case JSOP_CALLNAME:
+      case JSOP_GETINTRINSIC:
+      case JSOP_CALLINTRINSIC:
         return write(loadAtom(pc));
       case JSOP_GETARG:
       case JSOP_CALLARG: {
         unsigned slot = GET_ARGNO(pc);
         JSAtom *atom = getArg(slot);
         return write(atom);
       }
       case JSOP_GETLOCAL: