Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 30315d1b816074a63fd46c4042128c4f5b4ffb95..0f11f9e717757dc9444c5e17fae426947dd74254 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -2863,16 +2863,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); |
@@ -2908,25 +2898,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()); |