Modified: trunk/Source/_javascript_Core/ChangeLog (159068 => 159069)
--- trunk/Source/_javascript_Core/ChangeLog 2013-11-11 21:20:20 UTC (rev 159068)
+++ trunk/Source/_javascript_Core/ChangeLog 2013-11-11 21:46:37 UTC (rev 159069)
@@ -1,3 +1,12 @@
+2013-11-11 Filip Pizlo <[email protected]>
+
+ Make bytecode dumping use the right opcode names for inc/dec.
+
+ Rubber stamped by Mark Hahnenberg.
+
+ * bytecode/CodeBlock.cpp:
+ (JSC::CodeBlock::dumpBytecode):
+
2013-11-10 Filip Pizlo <[email protected]>
DFG Int52 boxing code may clobber the source without telling anyone
Modified: trunk/Source/_javascript_Core/bytecode/CodeBlock.cpp (159068 => 159069)
--- trunk/Source/_javascript_Core/bytecode/CodeBlock.cpp 2013-11-11 21:20:20 UTC (rev 159068)
+++ trunk/Source/_javascript_Core/bytecode/CodeBlock.cpp 2013-11-11 21:46:37 UTC (rev 159069)
@@ -805,12 +805,12 @@
}
case op_inc: {
int r0 = (++it)->u.operand;
- printLocationOpAndRegisterOperand(out, exec, location, it, "pre_inc", r0);
+ printLocationOpAndRegisterOperand(out, exec, location, it, "inc", r0);
break;
}
case op_dec: {
int r0 = (++it)->u.operand;
- printLocationOpAndRegisterOperand(out, exec, location, it, "pre_dec", r0);
+ printLocationOpAndRegisterOperand(out, exec, location, it, "dec", r0);
break;
}
case op_to_number: {