| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index cc3760596d3613396027137d4229694a679acc89..9756f3e796878e928fff51f9fde92242bd19b7c6 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -67,6 +67,7 @@ namespace internal {
|
| V(CreateAllocationSite) \
|
| V(CreateWeakCell) \
|
| V(ElementsTransitionAndStore) \
|
| + V(FastArrayPush) \
|
| V(FastCloneRegExp) \
|
| V(FastCloneShallowArray) \
|
| V(FastCloneShallowObject) \
|
| @@ -1044,6 +1045,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:
|
|
|