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

Unified Diff: src/heap/heap.cc

Issue 2465253011: Fastpath some spread-call desugaring. (Closed)
Patch Set: Rebase to master Created 4 years, 1 month 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/heap/heap.h ('k') | src/isolate.h » ('j') | src/lookup.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.cc
diff --git a/src/heap/heap.cc b/src/heap/heap.cc
index fd44ff2c97129d275da39f7b6667ff07e94fca68..8ffb3f52b9a6d27cb6b5a499baaec294c09432c9 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -2840,6 +2840,10 @@ void Heap::CreateInitialObjects() {
cell->set_value(Smi::FromInt(Isolate::kArrayProtectorValid));
set_string_length_protector(*cell);
+ Handle<Cell> array_iterator_cell = factory->NewCell(
+ handle(Smi::FromInt(Isolate::kArrayProtectorValid), isolate()));
Yang 2016/11/14 10:17:19 Can we name kArrayProtectorValid to kProtectorVali
petermarshall 2016/11/14 12:52:50 Sounds good to me.
+ set_array_iterator_protector(*array_iterator_cell);
+
set_serialized_templates(empty_fixed_array());
set_weak_stack_trace_list(Smi::kZero);
« no previous file with comments | « src/heap/heap.h ('k') | src/isolate.h » ('j') | src/lookup.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698