| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index f284a344c950cc88b7742b9bf527e77a3054612b..c85479cf80a7df012ba7378662289c6d595589d9 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -94,7 +94,8 @@ namespace internal {
|
| V(StoreField) \
|
| V(StoreGlobal) \
|
| V(StoreTransition) \
|
| - V(StringLength)
|
| + V(StringLength) \
|
| + V(RestParamAccess)
|
|
|
| // List of code stubs only used on ARM 32 bits platforms.
|
| #if V8_TARGET_ARCH_ARM
|
| @@ -1619,6 +1620,23 @@ class ArgumentsAccessStub: public PlatformCodeStub {
|
| };
|
|
|
|
|
| +class RestParamAccessStub: public PlatformCodeStub {
|
| + public:
|
| + explicit RestParamAccessStub(Isolate* isolate) : PlatformCodeStub(isolate) { }
|
| +
|
| + CallInterfaceDescriptor GetCallInterfaceDescriptor() OVERRIDE {
|
| + return ContextOnlyDescriptor(isolate());
|
| + }
|
| +
|
| + private:
|
| + void GenerateNew(MacroAssembler* masm);
|
| +
|
| + virtual void PrintName(std::ostream& os) const OVERRIDE; // NOLINT
|
| +
|
| + DEFINE_PLATFORM_CODE_STUB(RestParamAccess, PlatformCodeStub);
|
| +};
|
| +
|
| +
|
| class RegExpExecStub: public PlatformCodeStub {
|
| public:
|
| explicit RegExpExecStub(Isolate* isolate) : PlatformCodeStub(isolate) { }
|
|
|