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

Unified Diff: runtime/vm/locations.cc

Issue 10831261: Build and use stack maps in the SSA compiler. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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/locations.cc
diff --git a/runtime/vm/locations.cc b/runtime/vm/locations.cc
index 9e74025aa264727882ae28bf4648dd9febc7965d..b4a097445cf6d207db9bb4cc0a4ce98f66c640e6 100644
--- a/runtime/vm/locations.cc
+++ b/runtime/vm/locations.cc
@@ -16,7 +16,9 @@ LocationSummary::LocationSummary(intptr_t input_count,
: input_locations_(input_count),
temp_locations_(temp_count),
output_location_(),
- is_call_(contains_call == LocationSummary::kCall) {
+ stack_bitmap_(NULL),
+ is_call_(contains_call == kCall) {
+ if (is_call()) stack_bitmap_ = new BitmapBuilder();
for (intptr_t i = 0; i < input_count; i++) {
input_locations_.Add(Location());
}

Powered by Google App Engine
This is Rietveld 408576698