Index: src/builtins/builtins-array.cc |
diff --git a/src/builtins/builtins-array.cc b/src/builtins/builtins-array.cc |
index 0a3ffa575e9ba9c1bf9d776835de84ddca0431d3..50d5c20ce95205dca8973eea71d806de6bafb88d 100644 |
--- a/src/builtins/builtins-array.cc |
+++ b/src/builtins/builtins-array.cc |
@@ -2247,7 +2247,7 @@ void Builtins::Generate_ArrayIteratorPrototypeNext( |
{ |
// Check the array_protector cell, and take the slow path if it's invalid. |
Node* invalid = |
- assembler->SmiConstant(Smi::FromInt(Isolate::kArrayProtectorInvalid)); |
+ assembler->SmiConstant(Smi::FromInt(Isolate::kProtectorInvalid)); |
Node* cell = assembler->LoadRoot(Heap::kArrayProtectorRootIndex); |
Node* cell_value = |
assembler->LoadObjectField(cell, PropertyCell::kValueOffset); |
@@ -2268,7 +2268,7 @@ void Builtins::Generate_ArrayIteratorPrototypeNext( |
{ |
// Check the array_protector cell, and take the slow path if it's invalid. |
Node* invalid = |
- assembler->SmiConstant(Smi::FromInt(Isolate::kArrayProtectorInvalid)); |
+ assembler->SmiConstant(Smi::FromInt(Isolate::kProtectorInvalid)); |
Node* cell = assembler->LoadRoot(Heap::kArrayProtectorRootIndex); |
Node* cell_value = |
assembler->LoadObjectField(cell, PropertyCell::kValueOffset); |
@@ -2338,7 +2338,7 @@ void Builtins::Generate_ArrayIteratorPrototypeNext( |
&done); |
Node* invalid = assembler->SmiConstant( |
- Smi::FromInt(Isolate::kArrayProtectorInvalid)); |
+ Smi::FromInt(Isolate::kProtectorInvalid)); |
Node* cell = assembler->LoadRoot( |
Heap::kFastArrayIterationProtectorRootIndex); |
assembler->StoreObjectFieldNoWriteBarrier(cell, Cell::kValueOffset, |