Index: src/crankshaft/ppc/lithium-codegen-ppc.cc |
diff --git a/src/crankshaft/ppc/lithium-codegen-ppc.cc b/src/crankshaft/ppc/lithium-codegen-ppc.cc |
index 847899eb052eaa1068c8df5dd71c764d39296b14..4016015f7b16b6939812af785690efc04b07a726 100644 |
--- a/src/crankshaft/ppc/lithium-codegen-ppc.cc |
+++ b/src/crankshaft/ppc/lithium-codegen-ppc.cc |
@@ -4060,19 +4060,6 @@ void LCodeGen::DoCallFunction(LCallFunction* instr) { |
} |
-void LCodeGen::DoCallNew(LCallNew* instr) { |
- DCHECK(ToRegister(instr->context()).is(cp)); |
- DCHECK(ToRegister(instr->constructor()).is(r4)); |
- DCHECK(ToRegister(instr->result()).is(r3)); |
- |
- __ mov(r3, Operand(instr->arity())); |
- // No cell in r5 for construct type feedback in optimized code |
- __ LoadRoot(r5, Heap::kUndefinedValueRootIndex); |
- CallConstructStub stub(isolate(), NO_CALL_CONSTRUCTOR_FLAGS); |
- CallCode(stub.GetCode(), RelocInfo::CONSTRUCT_CALL, instr); |
-} |
- |
- |
void LCodeGen::DoCallNewArray(LCallNewArray* instr) { |
DCHECK(ToRegister(instr->context()).is(cp)); |
DCHECK(ToRegister(instr->constructor()).is(r4)); |