Index: src/crankshaft/arm64/lithium-codegen-arm64.cc |
diff --git a/src/crankshaft/arm64/lithium-codegen-arm64.cc b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
index ff2a6d3a6982df35420bab1f3eeed21e0bd24a67..642a5cb4c3756f41cd9911b5f5a884d48544d20d 100644 |
--- a/src/crankshaft/arm64/lithium-codegen-arm64.cc |
+++ b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
@@ -3223,7 +3223,7 @@ void LCodeGen::DoLoadKeyedFixed(LLoadKeyedFixed* instr) { |
// it needs to bail out. |
__ LoadRoot(result, Heap::kArrayProtectorRootIndex); |
__ Ldr(result, FieldMemOperand(result, Cell::kValueOffset)); |
- __ Cmp(result, Operand(Smi::FromInt(Isolate::kArrayProtectorValid))); |
+ __ Cmp(result, Operand(Smi::FromInt(Isolate::kProtectorValid))); |
DeoptimizeIf(ne, instr, DeoptimizeReason::kHole); |
} |
__ LoadRoot(result, Heap::kUndefinedValueRootIndex); |