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

Unified Diff: runtime/vm/intermediate_language_x64.cc

Issue 10800037: New linear scan allocator. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
Index: runtime/vm/intermediate_language_x64.cc
diff --git a/runtime/vm/intermediate_language_x64.cc b/runtime/vm/intermediate_language_x64.cc
index 2f76bd4e446ca874ae8c4875eaec4ee02b368225..e59b35042a98c9249ecc822b2c319bcbb74ab65b 100644
--- a/runtime/vm/intermediate_language_x64.cc
+++ b/runtime/vm/intermediate_language_x64.cc
@@ -463,8 +463,7 @@ LocationSummary* RelationalOpComp::MakeLocationSummary() const {
const intptr_t kNumInputs = 2;
const intptr_t kNumTemps = 1;
LocationSummary* summary = new LocationSummary(kNumInputs,
- kNumTemps,
- LocationSummary::kCall);
+ kNumTemps);
summary->set_in(0, Location::RequiresRegister());
summary->set_in(1, Location::RequiresRegister());
if (!is_fused_with_branch()) {
@@ -1372,7 +1371,7 @@ LocationSummary* CheckStackOverflowComp::MakeLocationSummary() const {
LocationSummary* summary = new LocationSummary(kNumInputs,
kNumTemps,
LocationSummary::kCall);
- summary->set_temp(0, Location::RequiresRegister());
+ summary->set_temp(0, Location::RegisterLocation(R10));
srdjan 2012/07/19 22:54:39 Document why R10.
Vyacheslav Egorov (Google) 2012/07/24 12:26:41 Done.
return summary;
}

Powered by Google App Engine
This is Rietveld 408576698