Index: src/crankshaft/x87/lithium-codegen-x87.cc |
diff --git a/src/crankshaft/x87/lithium-codegen-x87.cc b/src/crankshaft/x87/lithium-codegen-x87.cc |
index d542143cc835738db18d09c9515d709c8f8cf2d1..808853e86ef4e1d8f8081a510fdde98fb337b7ec 100644 |
--- a/src/crankshaft/x87/lithium-codegen-x87.cc |
+++ b/src/crankshaft/x87/lithium-codegen-x87.cc |
@@ -2906,7 +2906,7 @@ void LCodeGen::DoLoadKeyedFixedArray(LLoadKeyed* instr) { |
// Otherwise it needs to bail out. |
__ LoadRoot(result, Heap::kArrayProtectorRootIndex); |
__ cmp(FieldOperand(result, PropertyCell::kValueOffset), |
- Immediate(Smi::FromInt(Isolate::kArrayProtectorValid))); |
+ Immediate(Smi::FromInt(Isolate::kProtectorValid))); |
DeoptimizeIf(not_equal, instr, DeoptimizeReason::kHole); |
} |
__ mov(result, isolate()->factory()->undefined_value()); |