Index: src/ia32/lithium-codegen-ia32.cc |
=================================================================== |
--- src/ia32/lithium-codegen-ia32.cc (revision 7823) |
+++ src/ia32/lithium-codegen-ia32.cc (working copy) |
@@ -2384,8 +2384,10 @@ |
FixedArray::kHeaderSize)); |
// Check for the hole value. |
- __ cmp(result, factory()->the_hole_value()); |
- DeoptimizeIf(equal, instr->environment()); |
+ if (instr->hydrogen()->check_hole_value()) { |
+ __ cmp(result, factory()->the_hole_value()); |
+ DeoptimizeIf(equal, instr->environment()); |
+ } |
} |