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

Unified Diff: src/objects.cc

Issue 2394213003: Named all zones in the project (Closed)
Patch Set: Merge branch 'master' into zonenames Created 4 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 | « src/keys.cc ('k') | src/parsing/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index ad2f679f4d86e2ea5275f821e90a81a21c05bc3c..184d8382df889f7f3833237c938d761cd842df9e 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -3794,7 +3794,7 @@ void Map::UpdateFieldType(int descriptor, Handle<Name> name,
PropertyDetails details = instance_descriptors()->GetDetails(descriptor);
if (details.type() != DATA) return;
- Zone zone(GetIsolate()->allocator());
+ Zone zone(GetIsolate()->allocator(), ZONE_NAME);
ZoneQueue<Map*> backlog(&zone);
backlog.push(this);
@@ -20003,7 +20003,7 @@ bool Module::Instantiate(Handle<Module> module, v8::Local<v8::Context> context,
}
}
- Zone zone(isolate->allocator());
+ Zone zone(isolate->allocator(), ZONE_NAME);
// Resolve imports.
Handle<FixedArray> regular_imports(module_info->regular_imports(), isolate);
@@ -20166,7 +20166,7 @@ Handle<JSModuleNamespace> Module::GetModuleNamespace(Handle<Module> module) {
module->set_module_namespace(*ns);
// Collect the export names.
- Zone zone(isolate->allocator());
+ Zone zone(isolate->allocator(), ZONE_NAME);
UnorderedModuleSet visited(&zone);
FetchStarExports(module, &zone, &visited);
Handle<ObjectHashTable> exports(module->exports(), isolate);
« no previous file with comments | « src/keys.cc ('k') | src/parsing/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698