Index: src/crankshaft/mips64/lithium-codegen-mips64.cc |
diff --git a/src/crankshaft/mips64/lithium-codegen-mips64.cc b/src/crankshaft/mips64/lithium-codegen-mips64.cc |
index 22650ee9fec1447691c561fcb4c4e0ddce8779a6..810e02bd04a449fe7278935e718e4375965b8f77 100644 |
--- a/src/crankshaft/mips64/lithium-codegen-mips64.cc |
+++ b/src/crankshaft/mips64/lithium-codegen-mips64.cc |
@@ -4006,19 +4006,6 @@ void LCodeGen::DoCallFunction(LCallFunction* instr) { |
} |
-void LCodeGen::DoCallNew(LCallNew* instr) { |
- DCHECK(ToRegister(instr->context()).is(cp)); |
- DCHECK(ToRegister(instr->constructor()).is(a1)); |
- DCHECK(ToRegister(instr->result()).is(v0)); |
- |
- __ li(a0, Operand(instr->arity())); |
- // No cell in a2 for construct type feedback in optimized code |
- __ LoadRoot(a2, 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(a1)); |