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

Unified Diff: runtime/vm/isolate.cc

Issue 1409523003: Trace through const objects instead of spying on flow graph construction to find closure functions.… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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/isolate.h ('k') | runtime/vm/precompiler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.cc
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
index 9c87d5f194806ad5b261e680697b08c96cc7bc1f..33048344a5e8c83ce2d408c8f812f2d10bf6e5ec 100644
--- a/runtime/vm/isolate.cc
+++ b/runtime/vm/isolate.cc
@@ -788,7 +788,6 @@ Isolate::Isolate(const Dart_IsolateFlags& api_flags)
trace_buffer_(NULL),
profiler_data_(NULL),
tag_table_(GrowableObjectArray::null()),
- collected_closures_(GrowableObjectArray::null()),
deoptimized_code_array_(GrowableObjectArray::null()),
background_compilation_queue_(GrowableObjectArray::null()),
pending_service_extension_calls_(GrowableObjectArray::null()),
@@ -1779,9 +1778,6 @@ void Isolate::VisitObjectPointers(ObjectPointerVisitor* visitor,
// Visit the tag table which is stored in the isolate.
visitor->VisitPointer(reinterpret_cast<RawObject**>(&tag_table_));
- // Visit array of closures pending precompilation.
- visitor->VisitPointer(reinterpret_cast<RawObject**>(&collected_closures_));
-
visitor->VisitPointer(reinterpret_cast<RawObject**>(
&background_compilation_queue_));
@@ -2006,11 +2002,6 @@ void Isolate::set_default_tag(const UserTag& tag) {
}
-void Isolate::set_collected_closures(const GrowableObjectArray& value) {
- collected_closures_ = value.raw();
-}
-
-
void Isolate::set_deoptimized_code_array(const GrowableObjectArray& value) {
deoptimized_code_array_ = value.raw();
}
« no previous file with comments | « runtime/vm/isolate.h ('k') | runtime/vm/precompiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698