Index: src/code-stub-assembler.h |
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h |
index 21ed7daef057edf6009c0893e4d921c3599add97..75f427779f0e0951843543f55d19a0648491dc2a 100644 |
--- a/src/code-stub-assembler.h |
+++ b/src/code-stub-assembler.h |
@@ -1091,11 +1091,22 @@ class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler { |
FastFixedArrayForEachBody; |
void 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 = INTPTR_PARAMETERS, |
ForEachDirection direction = ForEachDirection::kReverse); |
+ void BuildFastFixedArrayForEach( |
+ Node* fixed_array, ElementsKind kind, Node* first_element_inclusive, |
+ Node* last_element_exclusive, const FastFixedArrayForEachBody& body, |
+ ParameterMode mode = INTPTR_PARAMETERS, |
+ ForEachDirection direction = ForEachDirection::kReverse) { |
+ CodeStubAssembler::VariableList list(0, zone()); |
+ BuildFastFixedArrayForEach(list, fixed_array, kind, first_element_inclusive, |
+ last_element_exclusive, body, mode, direction); |
+ } |
+ |
Node* GetArrayAllocationSize(Node* element_count, ElementsKind kind, |
ParameterMode mode, int header_size) { |
return ElementOffsetFromIndex(element_count, kind, mode, header_size); |