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

Unified Diff: runtime/vm/bootstrap.cc

Issue 141803019: Enter and Exit scope when calling into the native library tag handler (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 10 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 | « no previous file | runtime/vm/parser.cc » ('j') | runtime/vm/parser.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/bootstrap.cc
===================================================================
--- runtime/vm/bootstrap.cc (revision 32333)
+++ runtime/vm/bootstrap.cc (working copy)
@@ -256,9 +256,7 @@
// library tag handler so that we can load all the bootstrap libraries.
isolate->set_library_tag_handler(BootstrapLibraryTagHandler);
- // Enter the Dart Scope as we will be calling back into the library
- // tag handler when compiling the bootstrap libraries.
- Dart_EnterScope();
+ HANDLESCOPE(isolate);
// Create library objects for all the bootstrap libraries.
for (intptr_t i = 0;
@@ -309,9 +307,6 @@
SetupNativeResolver();
}
- // Exit the Dart scope.
- Dart_ExitScope();
-
// Restore the library tag handler for the isolate.
isolate->set_library_tag_handler(saved_tag_handler);
« no previous file with comments | « no previous file | runtime/vm/parser.cc » ('j') | runtime/vm/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698