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

Unified Diff: runtime/bin/main.cc

Issue 1046483002: Fix compile all for service isolate (Closed) Base URL: https://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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/main.cc
diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc
index 2fd9a7bf50cb734632b09ebc0796c2023f4e3e60..4d59656c6c9f64df9b96388d9f7b945aefb6b029 100644
--- a/runtime/bin/main.cc
+++ b/runtime/bin/main.cc
@@ -610,11 +610,11 @@ static Dart_Isolate CreateIsolateAndSetupHelper(const char* script_uri,
*error = strdup(VmService::GetErrorMessage());
return NULL;
}
- Dart_ExitScope();
if (has_compile_all) {
result = Dart_CompileAll();
CHECK_RESULT(result);
}
+ Dart_ExitScope();
Dart_ExitIsolate();
return isolate;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698