| Index: src/mips/lithium-codegen-mips.cc
|
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
|
| index 6673a866456303739b59d2730215580edfd0ce07..edf467e153c6e58512a2d9a1ec5482c2e566735d 100644
|
| --- a/src/mips/lithium-codegen-mips.cc
|
| +++ b/src/mips/lithium-codegen-mips.cc
|
| @@ -2902,17 +2902,6 @@ void LCodeGen::DoReturn(LReturn* instr) {
|
| }
|
|
|
|
|
| -void LCodeGen::DoLoadGlobalCell(LLoadGlobalCell* instr) {
|
| - Register result = ToRegister(instr->result());
|
| - __ li(at, Operand(Handle<Object>(instr->hydrogen()->cell().handle())));
|
| - __ lw(result, FieldMemOperand(at, Cell::kValueOffset));
|
| - if (instr->hydrogen()->RequiresHoleCheck()) {
|
| - __ LoadRoot(at, Heap::kTheHoleValueRootIndex);
|
| - DeoptimizeIf(eq, instr, Deoptimizer::kHole, result, Operand(at));
|
| - }
|
| -}
|
| -
|
| -
|
| template <class T>
|
| void LCodeGen::EmitVectorLoadICRegisters(T* instr) {
|
| DCHECK(FLAG_vector_ics);
|
| @@ -2948,32 +2937,6 @@ void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) {
|
| }
|
|
|
|
|
| -void LCodeGen::DoStoreGlobalCell(LStoreGlobalCell* instr) {
|
| - Register value = ToRegister(instr->value());
|
| - Register cell = scratch0();
|
| -
|
| - // Load the cell.
|
| - __ li(cell, Operand(instr->hydrogen()->cell().handle()));
|
| -
|
| - // If the cell we are storing to contains the hole it could have
|
| - // been deleted from the property dictionary. In that case, we need
|
| - // to update the property details in the property dictionary to mark
|
| - // it as no longer deleted.
|
| - if (instr->hydrogen()->RequiresHoleCheck()) {
|
| - // We use a temp to check the payload.
|
| - Register payload = ToRegister(instr->temp());
|
| - __ lw(payload, FieldMemOperand(cell, Cell::kValueOffset));
|
| - __ LoadRoot(at, Heap::kTheHoleValueRootIndex);
|
| - DeoptimizeIf(eq, instr, Deoptimizer::kHole, payload, Operand(at));
|
| - }
|
| -
|
| - // Store the value.
|
| - __ sw(value, FieldMemOperand(cell, Cell::kValueOffset));
|
| - // Cells are always rescanned, so no write barrier here.
|
| -}
|
| -
|
| -
|
| -
|
| void LCodeGen::DoLoadContextSlot(LLoadContextSlot* instr) {
|
| Register context = ToRegister(instr->context());
|
| Register result = ToRegister(instr->result());
|
|
|