| Index: src/crankshaft/x87/lithium-codegen-x87.cc
|
| diff --git a/src/crankshaft/x87/lithium-codegen-x87.cc b/src/crankshaft/x87/lithium-codegen-x87.cc
|
| index 4f1a36a2659b43d4fc40a062ea391405b5c52902..706ab03b7f00986be14fae81bb7a30cb0acf66c6 100644
|
| --- a/src/crankshaft/x87/lithium-codegen-x87.cc
|
| +++ b/src/crankshaft/x87/lithium-codegen-x87.cc
|
| @@ -4134,19 +4134,6 @@ void LCodeGen::DoCallFunction(LCallFunction* instr) {
|
| }
|
|
|
|
|
| -void LCodeGen::DoCallNew(LCallNew* instr) {
|
| - DCHECK(ToRegister(instr->context()).is(esi));
|
| - DCHECK(ToRegister(instr->constructor()).is(edi));
|
| - DCHECK(ToRegister(instr->result()).is(eax));
|
| -
|
| - // No cell in ebx for construct type feedback in optimized code
|
| - __ mov(ebx, isolate()->factory()->undefined_value());
|
| - CallConstructStub stub(isolate(), NO_CALL_CONSTRUCTOR_FLAGS);
|
| - __ Move(eax, Immediate(instr->arity()));
|
| - CallCode(stub.GetCode(), RelocInfo::CONSTRUCT_CALL, instr);
|
| -}
|
| -
|
| -
|
| void LCodeGen::DoCallNewArray(LCallNewArray* instr) {
|
| DCHECK(ToRegister(instr->context()).is(esi));
|
| DCHECK(ToRegister(instr->constructor()).is(edi));
|
|
|