| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index fc7000bb03d1c255ad5c5c8ba36372f023cbd506..23544bc4574dad38662af50b9cdcc12e0c82c68f 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -71,7 +71,8 @@ namespace internal {
|
| V(KeyedStoreElement) \
|
| V(DebuggerStatement) \
|
| V(StringDictionaryLookup) \
|
| - V(ElementsTransitionAndStore)
|
| + V(ElementsTransitionAndStore) \
|
| + V(StoreArrayLiteralElement)
|
|
|
| // List of code stubs only used on ARM platforms.
|
| #ifdef V8_TARGET_ARCH_ARM
|
| @@ -1064,6 +1065,20 @@ class ElementsTransitionAndStoreStub : public CodeStub {
|
| DISALLOW_COPY_AND_ASSIGN(ElementsTransitionAndStoreStub);
|
| };
|
|
|
| +
|
| +class StoreArrayLiteralElementStub : public CodeStub {
|
| + public:
|
| + explicit StoreArrayLiteralElementStub() {}
|
| +
|
| + private:
|
| + Major MajorKey() { return StoreArrayLiteralElement; }
|
| + int MinorKey() { return 0; }
|
| +
|
| + void Generate(MacroAssembler* masm);
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(StoreArrayLiteralElementStub);
|
| +};
|
| +
|
| } } // namespace v8::internal
|
|
|
| #endif // V8_CODE_STUBS_H_
|
|
|