Index: src/ic/arm/handler-compiler-arm.cc |
diff --git a/src/ic/arm/handler-compiler-arm.cc b/src/ic/arm/handler-compiler-arm.cc |
index 31c71af737a97e34e15a353ea7e75dc14acaad08..4b93bc1084fd34efa73ce9a425ba461fad4cbb2f 100644 |
--- a/src/ic/arm/handler-compiler-arm.cc |
+++ b/src/ic/arm/handler-compiler-arm.cc |
@@ -293,6 +293,13 @@ void PropertyHandlerCompiler::GenerateApiAccessorCall( |
__ ldr(data, FieldMemOperand(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()); |
ApiFunction fun(function_address); |