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

Unified Diff: runtime/lib/isolate.cc

Issue 11040062: Renamed Zone->StackZone, BaseZone->Zone, in preparation for changing isolate->get_zone() to return … (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review changes Created 8 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 | « no previous file | runtime/lib/regexp_jsc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/isolate.cc
diff --git a/runtime/lib/isolate.cc b/runtime/lib/isolate.cc
index c7bf00ce50ecadbccbc490d4460fab989e9b2ecb..921368ae1c6ce21ed9868321089e48c4a32d6483 100644
--- a/runtime/lib/isolate.cc
+++ b/runtime/lib/isolate.cc
@@ -86,7 +86,7 @@ static void ShutdownIsolate(uword parameter) {
// Print the error if there is one. This may execute dart code to
// print the exception object, so we need to use a StartIsolateScope.
StartIsolateScope start_scope(isolate);
- Zone zone(isolate);
+ StackZone zone(isolate);
HandleScope handle_scope(isolate);
Error& error = Error::Handle();
error = isolate->object_store()->sticky_error();
@@ -168,7 +168,7 @@ static bool CanonicalizeUri(Isolate* isolate,
const String& uri,
char** canonical_uri,
char** error) {
- Zone* zone = isolate->current_zone();
+ StackZone* zone = isolate->current_zone();
Dart_LibraryTagHandler handler = isolate->library_tag_handler();
if (handler == NULL) {
*error = zone->PrintToString(
@@ -311,7 +311,7 @@ static bool CreateIsolate(SpawnState* state, char** error) {
// TODO(turnidge): Revisit this once we have an isolate death api.
bool resolve_error = false;
{
- Zone zone(child_isolate);
+ StackZone zone(child_isolate);
HandleScope handle_scope(child_isolate);
const Object& result = Object::Handle(state->ResolveFunction());
if (result.IsError()) {
@@ -338,7 +338,7 @@ static bool RunIsolate(uword parameter) {
isolate->set_spawn_data(NULL);
{
StartIsolateScope start_scope(isolate);
- Zone zone(isolate);
+ StackZone zone(isolate);
HandleScope handle_scope(isolate);
if (!ClassFinalizer::FinalizePendingClasses()) {
// Error is in sticky error already.
« no previous file with comments | « no previous file | runtime/lib/regexp_jsc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698