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

Unified Diff: src/compiler/typer.cc

Issue 2484003002: [builtins] implement JSBuiltinReducer for ArrayIteratorNext() (Closed)
Patch Set: bunch of changes 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/compiler/typer.cc
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc
index 2f508d336e724400e6ef2df31ba00ea2af1cf0f0..4c110ab4de04a1135c0ed42ec61ffc77e29cac87 100644
--- a/src/compiler/typer.cc
+++ b/src/compiler/typer.cc
@@ -1102,6 +1102,9 @@ Type* Typer::Visitor::TypeJSCreateIterResultObject(Node* node) {
return Type::OtherObject();
}
+Type* Typer::Visitor::TypeJSCreateKeyValueArray(Node* node) {
+ return Type::OtherObject();
+}
Type* Typer::Visitor::TypeJSCreateLiteralArray(Node* node) {
return Type::OtherObject();
@@ -1383,6 +1386,15 @@ Type* Typer::Visitor::JSCallFunctionTyper(Type* fun, Typer* t) {
case kStringIteratorNext:
return Type::OtherObject();
+ case kArrayEntries:
+ case kArrayKeys:
+ case kArrayValues:
+ case kTypedArrayEntries:
+ case kTypedArrayKeys:
+ case kTypedArrayValues:
+ case kArrayIteratorNext:
+ return Type::OtherObject();
+
// Array functions.
case kArrayIndexOf:
case kArrayLastIndexOf:

Powered by Google App Engine
This is Rietveld 408576698