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

Unified Diff: runtime/vm/flow_graph_compiler_mips.cc

Issue 339183010: Specialize breakpoint stubs by set of live registers of the stubs they are intercepting. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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_ia32.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler_mips.cc
diff --git a/runtime/vm/flow_graph_compiler_mips.cc b/runtime/vm/flow_graph_compiler_mips.cc
index 8041aa5714005c5c854fba6d87d666c76ba2889d..319a8dd3aec29e0d56b935413751b28ba259c7dc 100644
--- a/runtime/vm/flow_graph_compiler_mips.cc
+++ b/runtime/vm/flow_graph_compiler_mips.cc
@@ -1253,7 +1253,6 @@ void FlowGraphCompiler::EmitInstanceCall(ExternalLabel* target_label,
LocationSummary* locs) {
ASSERT(Array::Handle(ic_data.arguments_descriptor()).Length() > 0);
__ TraceSimMsg("InstanceCall");
- __ LoadImmediate(S4, 0);
__ LoadObject(S5, ic_data);
GenerateDartCall(deopt_id,
token_pos,
@@ -1348,7 +1347,6 @@ void FlowGraphCompiler::EmitUnoptimizedStaticCall(
UNIMPLEMENTED();
}
ExternalLabel target_label(label_address);
- __ LoadImmediate(S4, 0);
__ LoadObject(S5, ic_data);
GenerateDartCall(deopt_id,
token_pos,
@@ -1357,6 +1355,7 @@ void FlowGraphCompiler::EmitUnoptimizedStaticCall(
locs);
#if defined(DEBUG)
__ LoadImmediate(S4, kInvalidObjectPointer);
+ __ LoadImmediate(S5, kInvalidObjectPointer);
#endif
__ Drop(argument_count);
}
@@ -1432,8 +1431,6 @@ void FlowGraphCompiler::EmitEqualityRegRegCompare(Register left,
__ BranchLinkPatchable(
&stub_code->OptimizedIdenticalWithNumberCheckLabel());
} else {
- __ LoadImmediate(S4, 0);
- __ LoadImmediate(S5, 0);
__ BranchLinkPatchable(
&stub_code->UnoptimizedIdenticalWithNumberCheckLabel());
}
« no previous file with comments | « runtime/vm/flow_graph_compiler_ia32.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698