Index: src/code-stub-assembler.cc |
diff --git a/src/code-stub-assembler.cc b/src/code-stub-assembler.cc |
index 5537d0a9b0f3412325cf5f315344b6cd74269bda..68c7f28a941326b43cddf5beee88dae2af1798a9 100644 |
--- a/src/code-stub-assembler.cc |
+++ b/src/code-stub-assembler.cc |
@@ -6282,7 +6282,8 @@ void CodeStubAssembler::BuildFastLoop( |
} |
void CodeStubAssembler::BuildFastFixedArrayForEach( |
- Node* fixed_array, ElementsKind kind, Node* first_element_inclusive, |
+ const CodeStubAssembler::VariableList& vars, Node* fixed_array, |
+ ElementsKind kind, Node* first_element_inclusive, |
Node* last_element_exclusive, const FastFixedArrayForEachBody& body, |
ParameterMode mode, ForEachDirection direction) { |
STATIC_ASSERT(FixedArray::kHeaderSize == FixedDoubleArray::kHeaderSize); |
@@ -6325,7 +6326,7 @@ void CodeStubAssembler::BuildFastFixedArrayForEach( |
int increment = IsFastDoubleElementsKind(kind) ? kDoubleSize : kPointerSize; |
BuildFastLoop( |
- MachineType::PointerRepresentation(), start, limit, |
+ vars, MachineType::PointerRepresentation(), start, limit, |
[fixed_array, &body](Node* offset) { body(fixed_array, offset); }, |
direction == ForEachDirection::kReverse ? -increment : increment, |
direction == ForEachDirection::kReverse ? IndexAdvanceMode::kPre |