| Index: src/arm/lithium-codegen-arm.cc
|
| diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc
|
| index b21416993cfea9fed2cdb389cdf9eaddd1e909fe..75406cf7428e970d3bf747fc7f5b2102bc7ebfdd 100644
|
| --- a/src/arm/lithium-codegen-arm.cc
|
| +++ b/src/arm/lithium-codegen-arm.cc
|
| @@ -2163,7 +2163,7 @@ void LCodeGen::DoReturn(LReturn* instr) {
|
| }
|
|
|
|
|
| -void LCodeGen::DoLoadGlobalCell(LLoadGlobalCell* instr) {
|
| +void LCodeGen::DoLoadGlobal(LLoadGlobal* instr) {
|
| Register result = ToRegister(instr->result());
|
| __ mov(ip, Operand(Handle<Object>(instr->hydrogen()->cell())));
|
| __ ldr(result, FieldMemOperand(ip, JSGlobalPropertyCell::kValueOffset));
|
| @@ -2175,19 +2175,7 @@ void LCodeGen::DoLoadGlobalCell(LLoadGlobalCell* instr) {
|
| }
|
|
|
|
|
| -void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) {
|
| - ASSERT(ToRegister(instr->global_object()).is(r0));
|
| - ASSERT(ToRegister(instr->result()).is(r0));
|
| -
|
| - __ mov(r2, Operand(instr->name()));
|
| - RelocInfo::Mode mode = instr->for_typeof() ? RelocInfo::CODE_TARGET
|
| - : RelocInfo::CODE_TARGET_CONTEXT;
|
| - Handle<Code> ic = isolate()->builtins()->LoadIC_Initialize();
|
| - CallCode(ic, mode, instr);
|
| -}
|
| -
|
| -
|
| -void LCodeGen::DoStoreGlobalCell(LStoreGlobalCell* instr) {
|
| +void LCodeGen::DoStoreGlobal(LStoreGlobal* instr) {
|
| Register value = ToRegister(instr->InputAt(0));
|
| Register scratch = scratch0();
|
|
|
| @@ -2212,16 +2200,6 @@ void LCodeGen::DoStoreGlobalCell(LStoreGlobalCell* instr) {
|
| }
|
|
|
|
|
| -void LCodeGen::DoStoreGlobalGeneric(LStoreGlobalGeneric* instr) {
|
| - ASSERT(ToRegister(instr->global_object()).is(r1));
|
| - ASSERT(ToRegister(instr->value()).is(r0));
|
| -
|
| - __ mov(r2, Operand(instr->name()));
|
| - Handle<Code> ic = isolate()->builtins()->StoreIC_Initialize();
|
| - CallCode(ic, RelocInfo::CODE_TARGET_CONTEXT, instr);
|
| -}
|
| -
|
| -
|
| void LCodeGen::DoLoadContextSlot(LLoadContextSlot* instr) {
|
| Register context = ToRegister(instr->context());
|
| Register result = ToRegister(instr->result());
|
|
|