| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index abb0c9622ca0c1bfd067f3d61477d6f8dd63bc9e..3f1678205de5a3a3e3f0fb087e061f3805dc4a58 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -65,6 +65,7 @@ namespace internal {
|
| V(FastArrayPush) \
|
| V(FastCloneRegExp) \
|
| V(FastCloneShallowArray) \
|
| + V(FastFunctionBind) \
|
| V(FastNewClosure) \
|
| V(FastNewContext) \
|
| V(FastNewObject) \
|
| @@ -1268,10 +1269,18 @@ class FastArrayPushStub : public HydrogenCodeStub {
|
| explicit FastArrayPushStub(Isolate* isolate) : HydrogenCodeStub(isolate) {}
|
|
|
| private:
|
| - DEFINE_CALL_INTERFACE_DESCRIPTOR(FastArrayPush);
|
| + DEFINE_CALL_INTERFACE_DESCRIPTOR(VarArgFunction);
|
| DEFINE_HYDROGEN_CODE_STUB(FastArrayPush, HydrogenCodeStub);
|
| };
|
|
|
| +class FastFunctionBindStub : public HydrogenCodeStub {
|
| + public:
|
| + explicit FastFunctionBindStub(Isolate* isolate) : HydrogenCodeStub(isolate) {}
|
| +
|
| + private:
|
| + DEFINE_CALL_INTERFACE_DESCRIPTOR(VarArgFunction);
|
| + DEFINE_HYDROGEN_CODE_STUB(FastFunctionBind, HydrogenCodeStub);
|
| +};
|
|
|
| enum AllocationSiteOverrideMode {
|
| DONT_OVERRIDE,
|
|
|