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

Unified Diff: runtime/vm/flow_graph_compiler_x64.cc

Issue 1075493003: Remove zapping of registers that has not turned up any GC bugs in a long time. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 8 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 | « runtime/vm/flow_graph_compiler_mips.cc ('k') | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler_x64.cc
===================================================================
--- runtime/vm/flow_graph_compiler_x64.cc (revision 44981)
+++ runtime/vm/flow_graph_compiler_x64.cc (working copy)
@@ -1232,10 +1232,6 @@
RawPcDescriptors::kUnoptStaticCall,
locs);
__ Drop(argument_count, RCX);
-#if defined(DEBUG)
- __ movq(RBX, Immediate(kInvalidObjectPointer));
- __ movq(R10, Immediate(kInvalidObjectPointer));
-#endif
}
@@ -1306,9 +1302,6 @@
RawPcDescriptors::kIcCall,
locs);
__ Drop(argument_count, RCX);
-#if defined(DEBUG)
- __ movq(R10, Immediate(kInvalidObjectPointer));
-#endif
}
@@ -1450,13 +1443,6 @@
Isolate::kNoDeoptId,
token_pos);
}
-#if defined(DEBUG)
- // Do this *after* adding the pc descriptor!
- if (!is_optimizing()) {
- __ movq(R10, Immediate(kInvalidObjectPointer));
- __ movq(RBX, Immediate(kInvalidObjectPointer));
- }
-#endif
// Stub returns result in flags (result of a cmpq, we need ZF computed).
__ popq(right);
__ popq(left);
« no previous file with comments | « runtime/vm/flow_graph_compiler_mips.cc ('k') | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698