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

Unified Diff: runtime/vm/locations.cc

Issue 10458050: Move ReturnInstr to new scheme (x64 and ia32) and implement more code in new ia32 compiler. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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/locations.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/locations.cc
===================================================================
--- runtime/vm/locations.cc (revision 8165)
+++ runtime/vm/locations.cc (working copy)
@@ -97,5 +97,14 @@
}
+LocationSummary* LocationSummary::Make(intptr_t input_count, Location out) {
+ LocationSummary* summary = new LocationSummary(input_count, 0);
+ for (intptr_t i = 0; i < input_count; i++) {
+ summary->set_in(i, Location::RequiresRegister());
+ }
+ summary->set_out(out);
+ return summary;
+}
+
} // namespace dart
« no previous file with comments | « runtime/vm/locations.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698