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

Unified Diff: runtime/vm/flow_graph_compiler_arm64.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_arm.cc ('k') | runtime/vm/flow_graph_compiler_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler_arm64.cc
diff --git a/runtime/vm/flow_graph_compiler_arm64.cc b/runtime/vm/flow_graph_compiler_arm64.cc
index 786c1648b57f6f43ae81a0fb719a953dc46c6021..81626309819c2e60a221e68a103fd9eb35051ef4 100644
--- a/runtime/vm/flow_graph_compiler_arm64.cc
+++ b/runtime/vm/flow_graph_compiler_arm64.cc
@@ -1220,7 +1220,6 @@ void FlowGraphCompiler::EmitInstanceCall(ExternalLabel* target_label,
intptr_t token_pos,
LocationSummary* locs) {
ASSERT(Array::Handle(ic_data.arguments_descriptor()).Length() > 0);
- __ LoadImmediate(R4, 0, kNoPP);
__ LoadObject(R5, ic_data, PP);
GenerateDartCall(deopt_id,
token_pos,
@@ -1312,7 +1311,6 @@ void FlowGraphCompiler::EmitUnoptimizedStaticCall(
UNIMPLEMENTED();
}
ExternalLabel target_label(label_address);
- __ LoadImmediate(R4, 0, kNoPP);
__ LoadObject(R5, ic_data, PP);
GenerateDartCall(deopt_id,
token_pos,
@@ -1320,6 +1318,7 @@ void FlowGraphCompiler::EmitUnoptimizedStaticCall(
RawPcDescriptors::kUnoptStaticCall,
locs);
#if defined(DEBUG)
+ __ LoadImmediate(R4, kInvalidObjectPointer, kNoPP);
__ LoadImmediate(R5, kInvalidObjectPointer, kNoPP);
#endif
__ Drop(argument_count);
@@ -1389,8 +1388,6 @@ void FlowGraphCompiler::EmitEqualityRegRegCompare(Register left,
__ BranchLinkPatchable(
&stub_code->OptimizedIdenticalWithNumberCheckLabel());
} else {
- __ LoadImmediate(R4, 0, kNoPP);
- __ LoadImmediate(R5, 0, kNoPP);
__ BranchLinkPatchable(
&stub_code->UnoptimizedIdenticalWithNumberCheckLabel());
}
« no previous file with comments | « runtime/vm/flow_graph_compiler_arm.cc ('k') | runtime/vm/flow_graph_compiler_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698