Index: src/code-stub-assembler.cc |
diff --git a/src/code-stub-assembler.cc b/src/code-stub-assembler.cc |
index ef2d4f4129ca8e1f899a73d3d02038f3769678d9..6d1c4ca1a7297cff79f468daaf77529033e9907f 100644 |
--- a/src/code-stub-assembler.cc |
+++ b/src/code-stub-assembler.cc |
@@ -5570,7 +5570,7 @@ void CodeStubAssembler::HandleLoadICSmiHandlerCase( |
DCHECK(isolate()->heap()->array_protector()->IsPropertyCell()); |
GotoUnless( |
WordEqual(LoadObjectField(protector_cell, PropertyCell::kValueOffset), |
- SmiConstant(Smi::FromInt(Isolate::kArrayProtectorValid))), |
+ SmiConstant(Smi::FromInt(Isolate::kProtectorValid))), |
miss); |
Return(UndefinedConstant()); |
} |
@@ -8764,7 +8764,7 @@ compiler::Node* CodeStubAssembler::InstanceOf(compiler::Node* object, |
GotoUnless( |
WordEqual(LoadObjectField(LoadRoot(Heap::kHasInstanceProtectorRootIndex), |
PropertyCell::kValueOffset), |
- SmiConstant(Smi::FromInt(Isolate::kArrayProtectorValid))), |
+ SmiConstant(Smi::FromInt(Isolate::kProtectorValid))), |
&return_runtime); |
// Check if {callable} is a valid receiver. |
@@ -8949,7 +8949,7 @@ compiler::Node* CodeStubAssembler::CreateArrayIterator( |
GotoUnless( |
WordEqual( |
LoadObjectField(protector_cell, PropertyCell::kValueOffset), |
- SmiConstant(Smi::FromInt(Isolate::kArrayProtectorValid))), |
+ SmiConstant(Smi::FromInt(Isolate::kProtectorValid))), |
&if_isslow); |
Node* native_context = LoadNativeContext(context); |