| Index: src/stub-cache.cc
|
| diff --git a/src/stub-cache.cc b/src/stub-cache.cc
|
| index 4b55d2e196df9c8443b5b15d1a24b7be4daa21d0..43375b050455e6e2e16a423ea009a848f6d79e22 100644
|
| --- a/src/stub-cache.cc
|
| +++ b/src/stub-cache.cc
|
| @@ -1268,13 +1268,6 @@ void StubCompiler::LookupPostInterceptor(Handle<JSObject> holder,
|
| #define __ ACCESS_MASM(masm())
|
|
|
|
|
| -CallKind CallStubCompiler::call_kind() {
|
| - return CallICBase::Contextual::decode(extra_state())
|
| - ? CALL_AS_FUNCTION
|
| - : CALL_AS_METHOD;
|
| -}
|
| -
|
| -
|
| void CallStubCompiler::HandlerFrontendFooter(Label* miss) {
|
| __ bind(miss);
|
| GenerateMissBranch();
|
| @@ -1285,7 +1278,7 @@ void CallStubCompiler::GenerateJumpFunctionIgnoreReceiver(
|
| Handle<JSFunction> function) {
|
| ParameterCount expected(function);
|
| __ InvokeFunction(function, expected, arguments(),
|
| - JUMP_FUNCTION, NullCallWrapper(), call_kind());
|
| + JUMP_FUNCTION, NullCallWrapper());
|
| }
|
|
|
|
|
| @@ -1302,7 +1295,7 @@ void CallStubCompiler::GenerateJumpFunction(Handle<Object> object,
|
| PatchImplicitReceiver(object);
|
| ParameterCount expected(function);
|
| __ InvokeFunction(actual_closure, expected, arguments(),
|
| - JUMP_FUNCTION, NullCallWrapper(), call_kind());
|
| + JUMP_FUNCTION, NullCallWrapper());
|
| }
|
|
|
|
|
|
|