Index: src/mips/builtins-mips.cc |
diff --git a/src/mips/builtins-mips.cc b/src/mips/builtins-mips.cc |
index 21ed88b0794e70133dea4c1c32bf33ebd68789a7..3d9acd9a3ad21bde50449de1daa9bc76b7e2169f 100644 |
--- a/src/mips/builtins-mips.cc |
+++ b/src/mips/builtins-mips.cc |
@@ -603,16 +603,9 @@ static void Generate_JSConstructStubHelper(MacroAssembler* masm, |
// a0: number of arguments |
// a1: constructor function |
// a3: new target |
- if (is_api_function) { |
- __ lw(cp, FieldMemOperand(a1, JSFunction::kContextOffset)); |
- Handle<Code> code = |
- masm->isolate()->builtins()->HandleApiCallConstruct(); |
- __ Call(code, RelocInfo::CODE_TARGET); |
- } else { |
- ParameterCount actual(a0); |
- __ InvokeFunction(a1, a3, actual, CALL_FUNCTION, |
- CheckDebugStepCallWrapper()); |
- } |
+ ParameterCount actual(a0); |
+ __ InvokeFunction(a1, a3, actual, CALL_FUNCTION, |
+ CheckDebugStepCallWrapper()); |
// Store offset of return address for deoptimizer. |
if (create_implicit_receiver && !is_api_function) { |