Index: src/ia32/lithium-codegen-ia32.cc |
=================================================================== |
--- src/ia32/lithium-codegen-ia32.cc (revision 9445) |
+++ src/ia32/lithium-codegen-ia32.cc (working copy) |
@@ -2073,7 +2073,7 @@ |
void LCodeGen::DoLoadGlobalCell(LLoadGlobalCell* instr) { |
Register result = ToRegister(instr->result()); |
__ mov(result, Operand::Cell(instr->hydrogen()->cell())); |
- if (instr->hydrogen()->check_hole_value()) { |
+ if (instr->hydrogen()->RequiresHoleCheck()) { |
__ cmp(result, factory()->the_hole_value()); |
DeoptimizeIf(equal, instr->environment()); |
} |
@@ -2107,7 +2107,7 @@ |
// 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()->check_hole_value()) { |
+ if (instr->hydrogen()->RequiresHoleCheck()) { |
__ cmp(FieldOperand(object, offset), factory()->the_hole_value()); |
DeoptimizeIf(equal, instr->environment()); |
} |
@@ -2369,16 +2369,14 @@ |
LLoadKeyedFastDoubleElement* instr) { |
XMMRegister result = ToDoubleRegister(instr->result()); |
- if (instr->hydrogen()->RequiresHoleCheck()) { |
- int offset = FixedDoubleArray::kHeaderSize - kHeapObjectTag + |
- sizeof(kHoleNanLower32); |
- Operand hole_check_operand = BuildFastArrayOperand( |
- instr->elements(), instr->key(), |
- FAST_DOUBLE_ELEMENTS, |
- offset); |
- __ cmp(hole_check_operand, Immediate(kHoleNanUpper32)); |
- DeoptimizeIf(equal, instr->environment()); |
- } |
+ int offset = FixedDoubleArray::kHeaderSize - kHeapObjectTag + |
+ sizeof(kHoleNanLower32); |
+ Operand hole_check_operand = BuildFastArrayOperand( |
+ instr->elements(), instr->key(), |
+ FAST_DOUBLE_ELEMENTS, |
+ offset); |
+ __ cmp(hole_check_operand, Immediate(kHoleNanUpper32)); |
+ DeoptimizeIf(equal, instr->environment()); |
Operand double_load_operand = BuildFastArrayOperand( |
instr->elements(), instr->key(), FAST_DOUBLE_ELEMENTS, |