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

Unified Diff: runtime/vm/flow_graph_compiler_ia32.cc

Issue 2780393005: Move the canonical empty context to the VM isolate. (Closed)
Patch Set: . Created 3 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_compiler_dbc.cc ('k') | runtime/vm/flow_graph_compiler_mips.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler_ia32.cc
diff --git a/runtime/vm/flow_graph_compiler_ia32.cc b/runtime/vm/flow_graph_compiler_ia32.cc
index e1dae4f8a6ff258fe80f319ca0b9154da7d5b9ea..8052e0cc43c75632fe8c8447f1851321a2f514e2 100644
--- a/runtime/vm/flow_graph_compiler_ia32.cc
+++ b/runtime/vm/flow_graph_compiler_ia32.cc
@@ -1049,9 +1049,8 @@ void FlowGraphCompiler::CompileGraph() {
if (function.IsClosureFunction()) {
__ movl(Address(EBP, (slot_base - i) * kWordSize), CTX);
} else {
- const Immediate& raw_empty_context =
- Immediate(reinterpret_cast<intptr_t>(
- isolate()->object_store()->empty_context()));
+ const Immediate& raw_empty_context = Immediate(
+ reinterpret_cast<intptr_t>(Object::empty_context().raw()));
__ movl(Address(EBP, (slot_base - i) * kWordSize), raw_empty_context);
}
} else {
« no previous file with comments | « runtime/vm/flow_graph_compiler_dbc.cc ('k') | runtime/vm/flow_graph_compiler_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698