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

Unified Diff: runtime/vm/gc_marker.cc

Issue 668193002: Remove isolate pointer from context objects. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 2 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/debugger_mips.cc ('k') | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/gc_marker.cc
===================================================================
--- runtime/vm/gc_marker.cc (revision 41244)
+++ runtime/vm/gc_marker.cc (working copy)
@@ -245,8 +245,9 @@
// If the code wasn't strongly visited through other references
// after skipping the function's code pointer, then we disconnect the
// code from the function.
+ StubCode* stub_code = isolate()->stub_code();
func->ptr()->instructions_ =
- StubCode::LazyCompile_entry()->code()->ptr()->instructions_;
+ stub_code->LazyCompile_entry()->code()->ptr()->instructions_;
func->ptr()->unoptimized_code_ = Code::null();
if (FLAG_log_code_drop) {
// NOTE: This code runs while GC is in progress and runs within
« no previous file with comments | « runtime/vm/debugger_mips.cc ('k') | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698