Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index f736fd5a719d37c1675fd831b9aaf738f398830f..83b6754450485cf3f09d328dbb221c3e39b6414e 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -66,6 +66,7 @@ namespace internal { |
V(CreateAllocationSite) \ |
V(CreateWeakCell) \ |
V(ElementsTransitionAndStore) \ |
+ V(FastArrayPush) \ |
V(FastCloneRegExp) \ |
V(FastCloneShallowArray) \ |
V(FastCloneShallowObject) \ |
@@ -1018,6 +1019,14 @@ class GrowArrayElementsStub : public HydrogenCodeStub { |
DEFINE_HYDROGEN_CODE_STUB(GrowArrayElements, HydrogenCodeStub); |
}; |
+class FastArrayPushStub : public HydrogenCodeStub { |
+ public: |
+ explicit FastArrayPushStub(Isolate* isolate) : HydrogenCodeStub(isolate) {} |
+ |
+ private: |
+ DEFINE_CALL_INTERFACE_DESCRIPTOR(FastArrayPush); |
+ DEFINE_HYDROGEN_CODE_STUB(FastArrayPush, HydrogenCodeStub); |
+}; |
class InstanceOfStub final : public PlatformCodeStub { |
public: |