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

Unified Diff: src/compiler/access-builder.h

Issue 2484003002: [builtins] implement JSBuiltinReducer for ArrayIteratorNext() (Closed)
Patch Set: Remove whitespace change that snuck in 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/access-builder.h
diff --git a/src/compiler/access-builder.h b/src/compiler/access-builder.h
index 2e229e6f3e7a0085a35d2940836957905f6d218e..af373a6eeb31a4d50e1eb2f4b3252b22c5d3ab5f 100644
--- a/src/compiler/access-builder.h
+++ b/src/compiler/access-builder.h
@@ -185,6 +185,16 @@ class V8_EXPORT_PRIVATE AccessBuilder final
// Provides access to JSGlobalObject::native_context() field.
static FieldAccess ForJSGlobalObjectNativeContext();
+ // Provides access to JSArrayIterator::object() field.
+ static FieldAccess ForJSArrayIteratorObject();
+
+ // Provides access to JSArrayIterator::index() field.
+ static FieldAccess ForJSArrayIteratorIndex(InstanceType type = JS_OBJECT_TYPE,
+ ElementsKind kind = NO_ELEMENTS);
+
+ // Provides access to JSArrayIterator::object_map() field.
+ static FieldAccess ForJSArrayIteratorObjectMap();
+
// Provides access to JSStringIterator::string() field.
static FieldAccess ForJSStringIteratorString();

Powered by Google App Engine
This is Rietveld 408576698