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

Unified Diff: src/heap/heap.cc

Issue 1129743003: Make V8 extras a separate type of native (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix Python formatting nits Created 5 years, 7 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
Index: src/heap/heap.cc
diff --git a/src/heap/heap.cc b/src/heap/heap.cc
index a1e2e1671e42c0e7072e05fa194688400a41e296..448b5f9b16cc2c91f331e407047ddabbaaeff3c7 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -3072,6 +3072,9 @@ void Heap::CreateInitialObjects() {
set_experimental_natives_source_cache(
*factory->NewFixedArray(ExperimentalNatives::GetBuiltinsCount()));
+ set_extra_natives_source_cache(
+ *factory->NewFixedArray(ExtraNatives::GetBuiltinsCount()));
+
set_undefined_cell(*factory->NewCell(factory->undefined_value()));
// The symbol registry is initialized lazily.
« src/bootstrapper.cc ('K') | « src/heap/heap.h ('k') | src/snapshot/natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698