Make bytecode dumping use the right opcode names for inc/dec.
Rubber stamped by Mark Hahnenberg.
* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::dumpBytecode):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159069 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/JavaScriptCore/bytecode/CodeBlock.cpp b/Source/JavaScriptCore/bytecode/CodeBlock.cpp
index 08c28fa..e4bd2bfd 100644
--- a/Source/JavaScriptCore/bytecode/CodeBlock.cpp
+++ b/Source/JavaScriptCore/bytecode/CodeBlock.cpp
@@ -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: {