Chromium Code Reviews

Unified Diff: src/lookup.h

Issue 2465253011: Fastpath some spread-call desugaring. (Closed)
Patch Set: Move helper to a runtime function Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « src/isolate-inl.h ('k') | src/lookup.cc » ('j') | src/lookup.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lookup.h
diff --git a/src/lookup.h b/src/lookup.h
index 2028427cf62473302417b168d6b08f8f04c10e79..8c1a3dec746c40bd150492853d87f44ce7d892d3 100644
--- a/src/lookup.h
+++ b/src/lookup.h
@@ -258,7 +258,9 @@ class V8_EXPORT_PRIVATE LookupIterator final BASE_EMBEDDED {
if (*name_ == heap()->is_concat_spreadable_symbol() ||
*name_ == heap()->constructor_string() ||
*name_ == heap()->species_symbol() ||
- *name_ == heap()->has_instance_symbol()) {
+ *name_ == heap()->has_instance_symbol() ||
+ *name_ == heap()->iterator_symbol() ||
+ *name_ == heap()->next_string()) {
InternalUpdateProtector();
}
}
« no previous file with comments | « src/isolate-inl.h ('k') | src/lookup.cc » ('j') | src/lookup.cc » ('J')

Powered by Google App Engine