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

Unified Diff: src/code-stub-assembler.h

Issue 2484003002: [builtins] implement JSBuiltinReducer for ArrayIteratorNext() (Closed)
Patch Set: CheckIf() for ArrayBufferWasNeutered() rather than a branch, which hopefully can be eliminated, and… 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/code-stub-assembler.h
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h
index 66a6d058a3b075471f3ebc3cd1b137346788632e..5931e0eb03a5d4789b0977a1a75ed8390b863034 100644
--- a/src/code-stub-assembler.h
+++ b/src/code-stub-assembler.h
@@ -20,8 +20,6 @@ class StubCache;
enum class PrimitiveType { kBoolean, kNumber, kString, kSymbol };
-enum class IterationKind { kKeys, kValues, kEntries };
-
#define HEAP_CONSTANT_LIST(V) \
V(BooleanMap, BooleanMap) \
V(empty_string, EmptyString) \
@@ -340,6 +338,10 @@ class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler {
compiler::Node* value);
compiler::Node* LoadNativeContext(compiler::Node* context);
+ compiler::Node* IsInAnyNativeContext(compiler::Node* object, uint32_t index);
+ compiler::Node* IsAnyInitialArrayPrototype(compiler::Node* object);
+ compiler::Node* IsAnyInitialObjectPrototype(compiler::Node* object);
+
compiler::Node* LoadJSArrayElementsMap(ElementsKind kind,
compiler::Node* native_context);

Powered by Google App Engine
This is Rietveld 408576698