Index: src/x87/builtins-x87.cc |
diff --git a/src/x87/builtins-x87.cc b/src/x87/builtins-x87.cc |
index 2ecc465db28a872e774c66e0140bba5dd2bcd457..133b3986398578a393eb987675b9fc5980965daa 100644 |
--- a/src/x87/builtins-x87.cc |
+++ b/src/x87/builtins-x87.cc |
@@ -186,16 +186,9 @@ static void Generate_JSConstructStubHelper(MacroAssembler* masm, |
__ j(greater_equal, &loop); |
// Call the function. |
- if (is_api_function) { |
- __ mov(esi, FieldOperand(edi, JSFunction::kContextOffset)); |
- Handle<Code> code = |
- masm->isolate()->builtins()->HandleApiCallConstruct(); |
- __ call(code, RelocInfo::CODE_TARGET); |
- } else { |
- ParameterCount actual(eax); |
- __ InvokeFunction(edi, edx, actual, CALL_FUNCTION, |
- CheckDebugStepCallWrapper()); |
- } |
+ ParameterCount actual(eax); |
+ __ InvokeFunction(edi, edx, actual, CALL_FUNCTION, |
+ CheckDebugStepCallWrapper()); |
// Store offset of return address for deoptimizer. |
if (create_implicit_receiver && !is_api_function) { |