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

Unified Diff: src/disasm-ia32.cc

Issue 21207: * Issue 228 Fix - add decompilation of dec(Operand) (Closed)
Patch Set: Created 11 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/disasm-ia32.cc
diff --git a/src/disasm-ia32.cc b/src/disasm-ia32.cc
index 1764e523082446000717e8e01165b74839423e9e..c9bb5df2b9edd91cc94d8f54369d823b7b7c193d 100644
--- a/src/disasm-ia32.cc
+++ b/src/disasm-ia32.cc
@@ -858,6 +858,7 @@ int DisassemblerIA32::InstructionDecode(v8::internal::Vector<char> out_buffer,
switch (regop) {
case esi: mnem = "push"; break;
case eax: mnem = "inc"; break;
+ case ecx: mnem = "dec"; break;
case edx: mnem = "call"; break;
case esp: mnem = "jmp"; break;
default: mnem = "???";
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698