| Index: src/arm64/lithium-codegen-arm64.cc
|
| diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc
|
| index 3db63bed2f69494cb23954a64200a0ef70bd7139..35fed1e5c5302ddf356599923f73bfd58e381976 100644
|
| --- a/src/arm64/lithium-codegen-arm64.cc
|
| +++ b/src/arm64/lithium-codegen-arm64.cc
|
| @@ -3395,17 +3395,6 @@ void LCodeGen::DoLoadFunctionPrototype(LLoadFunctionPrototype* instr) {
|
| }
|
|
|
|
|
| -void LCodeGen::DoLoadGlobalCell(LLoadGlobalCell* instr) {
|
| - Register result = ToRegister(instr->result());
|
| - __ Mov(result, Operand(Handle<Object>(instr->hydrogen()->cell().handle())));
|
| - __ Ldr(result, FieldMemOperand(result, Cell::kValueOffset));
|
| - if (instr->hydrogen()->RequiresHoleCheck()) {
|
| - DeoptimizeIfRoot(result, Heap::kTheHoleValueRootIndex, instr,
|
| - Deoptimizer::kHole);
|
| - }
|
| -}
|
| -
|
| -
|
| template <class T>
|
| void LCodeGen::EmitVectorLoadICRegisters(T* instr) {
|
| DCHECK(FLAG_vector_ics);
|
| @@ -5182,30 +5171,6 @@ void LCodeGen::DoStoreContextSlot(LStoreContextSlot* instr) {
|
| }
|
|
|
|
|
| -void LCodeGen::DoStoreGlobalCell(LStoreGlobalCell* instr) {
|
| - Register value = ToRegister(instr->value());
|
| - Register cell = ToRegister(instr->temp1());
|
| -
|
| - // Load the cell.
|
| - __ Mov(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. We deoptimize in that case.
|
| - if (instr->hydrogen()->RequiresHoleCheck()) {
|
| - Register payload = ToRegister(instr->temp2());
|
| - __ Ldr(payload, FieldMemOperand(cell, Cell::kValueOffset));
|
| - DeoptimizeIfRoot(payload, Heap::kTheHoleValueRootIndex, instr,
|
| - Deoptimizer::kHole);
|
| - }
|
| -
|
| - // Store the value.
|
| - __ Str(value, FieldMemOperand(cell, Cell::kValueOffset));
|
| - // Cells are always rescanned, so no write barrier here.
|
| -}
|
| -
|
| -
|
| void LCodeGen::DoStoreKeyedExternal(LStoreKeyedExternal* instr) {
|
| Register ext_ptr = ToRegister(instr->elements());
|
| Register key = no_reg;
|
|
|