Index: src/x87/lithium-codegen-x87.cc |
diff --git a/src/x87/lithium-codegen-x87.cc b/src/x87/lithium-codegen-x87.cc |
index 5a44e6e734e4c688678e6c76e77a06b0b13f0283..80ab9ba6e948c16d2f8b9db31054ebaa6cb50d5c 100644 |
--- a/src/x87/lithium-codegen-x87.cc |
+++ b/src/x87/lithium-codegen-x87.cc |
@@ -3139,16 +3139,6 @@ void LCodeGen::DoReturn(LReturn* instr) { |
} |
-void LCodeGen::DoLoadGlobalCell(LLoadGlobalCell* instr) { |
- Register result = ToRegister(instr->result()); |
- __ mov(result, Operand::ForCell(instr->hydrogen()->cell().handle())); |
- if (instr->hydrogen()->RequiresHoleCheck()) { |
- __ cmp(result, factory()->the_hole_value()); |
- DeoptimizeIf(equal, instr, Deoptimizer::kHole); |
- } |
-} |
- |
- |
template <class T> |
void LCodeGen::EmitVectorLoadICRegisters(T* instr) { |
DCHECK(FLAG_vector_ics); |
@@ -3184,25 +3174,6 @@ void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) { |
} |
-void LCodeGen::DoStoreGlobalCell(LStoreGlobalCell* instr) { |
- Register value = ToRegister(instr->value()); |
- Handle<PropertyCell> cell_handle = 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()) { |
- __ cmp(Operand::ForCell(cell_handle), factory()->the_hole_value()); |
- DeoptimizeIf(equal, instr, Deoptimizer::kHole); |
- } |
- |
- // Store the value. |
- __ mov(Operand::ForCell(cell_handle), value); |
- // Cells are always rescanned, so no write barrier here. |
-} |
- |
- |
void LCodeGen::DoLoadContextSlot(LLoadContextSlot* instr) { |
Register context = ToRegister(instr->context()); |
Register result = ToRegister(instr->result()); |