Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Unified Diff: src/x64/disasm-x64.cc

Issue 3412028: Support dec_b instruction in ia32 and x64 disassembler. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/x64/disasm-x64.cc
===================================================================
--- src/x64/disasm-x64.cc (revision 5514)
+++ src/x64/disasm-x64.cc (working copy)
@@ -1450,12 +1450,12 @@
data++;
int mod, regop, rm;
get_modrm(*data, &mod, &regop, &rm);
- if (mod == 3 && regop == 1) {
- AppendToBuffer("decb %s", NameOfCPURegister(rm));
+ if (regop == 1) {
+ AppendToBuffer("decb ");
+ data += PrintRightOperand(data);
} else {
UnimplementedInstruction();
}
- data++;
}
break;

Powered by Google App Engine
This is Rietveld 408576698