Index: src/crankshaft/x64/lithium-codegen-x64.cc |
diff --git a/src/crankshaft/x64/lithium-codegen-x64.cc b/src/crankshaft/x64/lithium-codegen-x64.cc |
index 52cf25175fe3ff44ceb77524371468999655bdea..aa2bc87aeb084eea0253f2ec3ac1ba9cefdae7cb 100644 |
--- a/src/crankshaft/x64/lithium-codegen-x64.cc |
+++ b/src/crankshaft/x64/lithium-codegen-x64.cc |
@@ -2828,7 +2828,7 @@ void LCodeGen::DoLoadKeyedFixedArray(LLoadKeyed* instr) { |
// it needs to bail out. |
__ LoadRoot(result, Heap::kArrayProtectorRootIndex); |
__ Cmp(FieldOperand(result, Cell::kValueOffset), |
- Smi::FromInt(Isolate::kArrayProtectorValid)); |
+ Smi::FromInt(Isolate::kProtectorValid)); |
DeoptimizeIf(not_equal, instr, DeoptimizeReason::kHole); |
} |
__ Move(result, isolate()->factory()->undefined_value()); |