Index: src/ppc/builtins-ppc.cc |
diff --git a/src/ppc/builtins-ppc.cc b/src/ppc/builtins-ppc.cc |
index 2fe6484c21b0db63244f3e709fdf4610545216f9..54d5008262591795dafa57a2a2a8fe17bb96dd7d 100644 |
--- a/src/ppc/builtins-ppc.cc |
+++ b/src/ppc/builtins-ppc.cc |
@@ -605,15 +605,10 @@ static void Generate_JSConstructStubHelper(MacroAssembler* masm, |
// r3: number of arguments |
// r4: constructor function |
// r6: new target |
- if (is_api_function) { |
- __ LoadP(cp, FieldMemOperand(r4, JSFunction::kContextOffset)); |
- Handle<Code> code = masm->isolate()->builtins()->HandleApiCallConstruct(); |
- __ Call(code, RelocInfo::CODE_TARGET); |
- } else { |
- ParameterCount actual(r3); |
- __ InvokeFunction(r4, r6, actual, CALL_FUNCTION, |
- CheckDebugStepCallWrapper()); |
- } |
+ |
+ ParameterCount actual(r3); |
+ __ InvokeFunction(r4, r6, actual, CALL_FUNCTION, |
+ CheckDebugStepCallWrapper()); |
// Store offset of return address for deoptimizer. |
if (create_implicit_receiver && !is_api_function) { |