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

Unified Diff: src/isolate-inl.h

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
Index: src/isolate-inl.h
diff --git a/src/isolate-inl.h b/src/isolate-inl.h
index 34c98bba645a5a44253689b954abc9370b550209..011eb6c8be406c4f98c0e020c0b25a3b37c6eede 100644
--- a/src/isolate-inl.h
+++ b/src/isolate-inl.h
@@ -143,6 +143,11 @@ bool Isolate::IsStringLengthOverflowIntact() {
return has_instance_cell->value() == Smi::FromInt(kArrayProtectorValid);
}
+bool Isolate::IsArrayIteratorLookupChainIntact() {
+ Cell* array_iterator_cell = heap()->array_iterator_protector();
+ return array_iterator_cell->value() == Smi::FromInt(kArrayProtectorValid);
+}
+
} // namespace internal
} // namespace v8

Powered by Google App Engine
This is Rietveld 408576698