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

Unified Diff: runtime/vm/flow_graph_inliner.cc

Issue 1012333002: Keep zone cached in SnapshotReader to allow removing ZoneHandle(Isolate*) interface. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 9 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/flow_graph_builder.cc ('k') | runtime/vm/isolate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_inliner.cc
===================================================================
--- runtime/vm/flow_graph_inliner.cc (revision 44579)
+++ runtime/vm/flow_graph_inliner.cc (working copy)
@@ -993,7 +993,7 @@
LoadFieldInstr* context_load = new(Z) LoadFieldInstr(
new Value((*arguments)[0]->definition()),
Closure::context_offset(),
- AbstractType::ZoneHandle(isolate(), AbstractType::null()),
+ AbstractType::ZoneHandle(zone(), AbstractType::null()),
call_data->call->token_pos());
context_load->set_is_immutable(true);
context_load->set_ssa_temp_index(
@@ -1436,7 +1436,7 @@
LoadFieldInstr* context_load = new(Z) LoadFieldInstr(
new Value(redefinition),
Closure::context_offset(),
- AbstractType::ZoneHandle(isolate(), AbstractType::null()),
+ AbstractType::ZoneHandle(zone(), AbstractType::null()),
call_data.call->token_pos());
context_load->set_is_immutable(true);
context_load->set_ssa_temp_index(
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698