| Index: src/arm/lithium-codegen-arm.cc
|
| diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc
|
| index 74f527c4a7cf91cf3944113e5e87aba843627aa0..3049ddbce2544e4ad20122e603b3f37c34665787 100644
|
| --- a/src/arm/lithium-codegen-arm.cc
|
| +++ b/src/arm/lithium-codegen-arm.cc
|
| @@ -5441,26 +5441,6 @@ void LCodeGen::DoRegExpLiteral(LRegExpLiteral* instr) {
|
| }
|
|
|
|
|
| -void LCodeGen::DoFunctionLiteral(LFunctionLiteral* instr) {
|
| - DCHECK(ToRegister(instr->context()).is(cp));
|
| - // Use the fast case closure allocation code that allocates in new
|
| - // space for nested functions that don't need literals cloning.
|
| - bool pretenure = instr->hydrogen()->pretenure();
|
| - if (!pretenure && instr->hydrogen()->has_no_literals()) {
|
| - FastNewClosureStub stub(isolate(), instr->hydrogen()->language_mode(),
|
| - instr->hydrogen()->kind());
|
| - __ mov(r2, Operand(instr->hydrogen()->shared_info()));
|
| - CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr);
|
| - } else {
|
| - __ mov(r2, Operand(instr->hydrogen()->shared_info()));
|
| - __ mov(r1, Operand(pretenure ? factory()->true_value()
|
| - : factory()->false_value()));
|
| - __ Push(cp, r2, r1);
|
| - CallRuntime(Runtime::kNewClosure, 3, instr);
|
| - }
|
| -}
|
| -
|
| -
|
| void LCodeGen::DoTypeof(LTypeof* instr) {
|
| DCHECK(ToRegister(instr->value()).is(r3));
|
| DCHECK(ToRegister(instr->result()).is(r0));
|
|
|