| Index: src/ic/x64/handler-compiler-x64.cc
|
| diff --git a/src/ic/x64/handler-compiler-x64.cc b/src/ic/x64/handler-compiler-x64.cc
|
| index 6bc3aafa89fe8353fd0ff6304b7f8ac3036021e1..8a5b2ab0fb83a01d6fe12ae4f5c465d7cc7a428c 100644
|
| --- a/src/ic/x64/handler-compiler-x64.cc
|
| +++ b/src/ic/x64/handler-compiler-x64.cc
|
| @@ -188,6 +188,13 @@ void PropertyHandlerCompiler::GenerateApiAccessorCall(
|
| __ movp(data, FieldOperand(data, CallHandlerInfo::kDataOffset));
|
| }
|
|
|
| + if (api_call_info->fast_handler()->IsCode()) {
|
| + // Just tail call into the fast handler if present.
|
| + __ Jump(handle(Code::cast(api_call_info->fast_handler())),
|
| + RelocInfo::CODE_TARGET);
|
| + return;
|
| + }
|
| +
|
| // Put api_function_address in place.
|
| Address function_address = v8::ToCData<Address>(api_call_info->callback());
|
| __ Move(api_function_address, function_address,
|
|
|