| Index: src/ppc/lithium-codegen-ppc.cc
|
| diff --git a/src/ppc/lithium-codegen-ppc.cc b/src/ppc/lithium-codegen-ppc.cc
|
| index 3653fd2af677f1169c04b95132b3c1b168d55b35..89f8251e84263b02d450d413a097408cb18e7687 100644
|
| --- a/src/ppc/lithium-codegen-ppc.cc
|
| +++ b/src/ppc/lithium-codegen-ppc.cc
|
| @@ -3042,18 +3042,6 @@ void LCodeGen::DoReturn(LReturn* instr) {
|
| }
|
|
|
|
|
| -void LCodeGen::DoLoadGlobalCell(LLoadGlobalCell* instr) {
|
| - Register result = ToRegister(instr->result());
|
| - __ mov(ip, Operand(Handle<Object>(instr->hydrogen()->cell().handle())));
|
| - __ LoadP(result, FieldMemOperand(ip, Cell::kValueOffset));
|
| - if (instr->hydrogen()->RequiresHoleCheck()) {
|
| - __ LoadRoot(ip, Heap::kTheHoleValueRootIndex);
|
| - __ cmp(result, ip);
|
| - DeoptimizeIf(eq, instr, Deoptimizer::kHole);
|
| - }
|
| -}
|
| -
|
| -
|
| template <class T>
|
| void LCodeGen::EmitVectorLoadICRegisters(T* instr) {
|
| DCHECK(FLAG_vector_ics);
|
| @@ -3089,31 +3077,6 @@ void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) {
|
| }
|
|
|
|
|
| -void LCodeGen::DoStoreGlobalCell(LStoreGlobalCell* instr) {
|
| - Register value = ToRegister(instr->value());
|
| - Register cell = scratch0();
|
| -
|
| - // 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.
|
| - if (instr->hydrogen()->RequiresHoleCheck()) {
|
| - // We use a temp to check the payload (CompareRoot might clobber ip).
|
| - Register payload = ToRegister(instr->temp());
|
| - __ LoadP(payload, FieldMemOperand(cell, Cell::kValueOffset));
|
| - __ CompareRoot(payload, Heap::kTheHoleValueRootIndex);
|
| - DeoptimizeIf(eq, instr, Deoptimizer::kHole);
|
| - }
|
| -
|
| - // Store the value.
|
| - __ StoreP(value, FieldMemOperand(cell, Cell::kValueOffset), r0);
|
| - // Cells are always rescanned, so no write barrier here.
|
| -}
|
| -
|
| -
|
| void LCodeGen::DoLoadContextSlot(LLoadContextSlot* instr) {
|
| Register context = ToRegister(instr->context());
|
| Register result = ToRegister(instr->result());
|
|
|