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

Unified Diff: runtime/vm/locations.cc

Issue 10806047: Fix crash during parallel moves. (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/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 9788)
+++ runtime/vm/locations.cc (working copy)
@@ -10,6 +10,22 @@
namespace dart {
+LocationSummary::LocationSummary(intptr_t input_count,
+ intptr_t temp_count,
+ ContainsCall call)
+ : input_locations_(input_count),
+ temp_locations_(temp_count),
+ output_location_(),
+ is_call_(call == kCall) {
+ for (intptr_t i = 0; i < input_count; i++) {
+ input_locations_.Add(Location());
+ }
+ for (intptr_t i = 0; i < temp_count; i++) {
+ temp_locations_.Add(Location());
+ }
+}
+
+
LocationSummary* LocationSummary::Make(intptr_t input_count,
Location out,
ContainsCall contains_call) {
« 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