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

Unified Diff: runtime/vm/disassembler_ia32.cc

Issue 1302313003: Static analysis fixes and debug prints for wedging test (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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: runtime/vm/disassembler_ia32.cc
diff --git a/runtime/vm/disassembler_ia32.cc b/runtime/vm/disassembler_ia32.cc
index 852621bf5fe488619626458a03a180a72e129e1d..b18dd3ff03e9bb90cda636d96864b4a5d3af4bc3 100644
--- a/runtime/vm/disassembler_ia32.cc
+++ b/runtime/vm/disassembler_ia32.cc
@@ -1405,17 +1405,17 @@ int X86Decoder::InstructionDecode(uword pc) {
data += 5;
} else if (*(data+2) == 0x80 &&
*(data+3) == 0x00 &&
- *(data+3) == 0x00 &&
- *(data+3) == 0x00 &&
- *(data+4) == 0x00) {
+ *(data+4) == 0x00 &&
+ *(data+5) == 0x00 &&
+ *(data+6) == 0x00) {
Print("nop");
data += 7;
} else if (*(data+2) == 0x84 &&
*(data+3) == 0x00 &&
- *(data+3) == 0x00 &&
- *(data+3) == 0x00 &&
- *(data+3) == 0x00 &&
- *(data+4) == 0x00) {
+ *(data+4) == 0x00 &&
+ *(data+5) == 0x00 &&
+ *(data+6) == 0x00 &&
+ *(data+7) == 0x00) {
Print("nop");
data += 8;
} else {
« no previous file with comments | « runtime/observatory/tests/service/pause_on_start_then_step_test.dart ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698