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

Unified Diff: runtime/vm/locations.cc

Issue 306483005: - Use isolate where it is appropriate. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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
Index: runtime/vm/locations.cc
===================================================================
--- runtime/vm/locations.cc (revision 36643)
+++ runtime/vm/locations.cc (working copy)
@@ -71,11 +71,12 @@
LocationSummary* LocationSummary::Make(
+ Isolate* isolate,
intptr_t input_count,
Location out,
LocationSummary::ContainsCall contains_call) {
- LocationSummary* summary = new LocationSummary(
- Isolate::Current(), input_count, 0, contains_call);
+ LocationSummary* summary = new(isolate) LocationSummary(
+ isolate, 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') | runtime/vm/native_entry.cc » ('j') | runtime/vm/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698