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

Unified Diff: runtime/vm/intermediate_language_ia32.cc

Issue 10806099: Some cleanups. (Closed) Base URL: http://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
« no previous file with comments | « runtime/vm/il_printer.cc ('k') | runtime/vm/locations.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language_ia32.cc
===================================================================
--- runtime/vm/intermediate_language_ia32.cc (revision 9862)
+++ runtime/vm/intermediate_language_ia32.cc (working copy)
@@ -1471,9 +1471,13 @@
LocationSummary* CheckStackOverflowComp::MakeLocationSummary() const {
- return LocationSummary::Make(0,
- Location::NoLocation(),
- LocationSummary::kCall);
+ const intptr_t kNumInputs = 0;
+ const intptr_t kNumTemps = 0;
+ // TODO(vegorov): spilling is required only on an infrequently executed path.
+ LocationSummary* summary = new LocationSummary(kNumInputs,
+ kNumTemps,
+ LocationSummary::kCall);
+ return summary;
}
« no previous file with comments | « runtime/vm/il_printer.cc ('k') | runtime/vm/locations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698