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

Unified Diff: runtime/vm/locations.cc

Issue 855533002: Isolate/Thread split: Isolate -> Zone for LocationSummary. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 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 42919)
+++ runtime/vm/locations.cc (working copy)
@@ -23,7 +23,7 @@
}
-LocationSummary::LocationSummary(Isolate* isolate,
+LocationSummary::LocationSummary(Zone* zone,
intptr_t input_count,
intptr_t temp_count,
LocationSummary::ContainsCall contains_call)
@@ -35,18 +35,18 @@
#if defined(DEBUG)
writable_inputs_ = 0;
#endif
- input_locations_ = isolate->current_zone()->Alloc<Location>(num_inputs_);
- temp_locations_ = isolate->current_zone()->Alloc<Location>(num_temps_);
+ input_locations_ = zone->Alloc<Location>(num_inputs_);
+ temp_locations_ = zone->Alloc<Location>(num_temps_);
}
LocationSummary* LocationSummary::Make(
- Isolate* isolate,
+ Zone* zone,
intptr_t input_count,
Location out,
LocationSummary::ContainsCall contains_call) {
- LocationSummary* summary = new(isolate) LocationSummary(
- isolate, input_count, 0, contains_call);
+ LocationSummary* summary = new(zone) LocationSummary(
+ zone, input_count, 0, contains_call);
for (intptr_t i = 0; i < input_count; i++) {
summary->set_in(i, Location::RequiresRegister());
}
« 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