Index: src/code-stub-assembler.h |
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h |
index 8f08408e40ee8db9b14f57a08e9aa4da1e4e7f1b..214d534cb2d92e56e3ef12bf9c149d9c41635ac9 100644 |
--- a/src/code-stub-assembler.h |
+++ b/src/code-stub-assembler.h |
@@ -1075,16 +1075,17 @@ class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler { |
typedef std::function<void(Node* index)> FastLoopBody; |
- Node* BuildFastLoop(const VariableList& var_list, |
- MachineRepresentation index_rep, Node* start_index, |
+ Node* BuildFastLoop(const VariableList& var_list, Node* start_index, |
Node* end_index, const FastLoopBody& body, int increment, |
- IndexAdvanceMode mode = IndexAdvanceMode::kPre); |
- |
- Node* BuildFastLoop(MachineRepresentation index_rep, Node* start_index, |
- Node* end_index, const FastLoopBody& body, int increment, |
- IndexAdvanceMode mode = IndexAdvanceMode::kPre) { |
- return BuildFastLoop(VariableList(0, zone()), index_rep, start_index, |
- end_index, body, increment, mode); |
+ ParameterMode parameter_mode, |
+ IndexAdvanceMode advance_mode = IndexAdvanceMode::kPre); |
+ |
+ Node* BuildFastLoop(Node* start_index, Node* end_index, |
+ const FastLoopBody& body, int increment, |
+ ParameterMode parameter_mode, |
+ IndexAdvanceMode advance_mode = IndexAdvanceMode::kPre) { |
+ return BuildFastLoop(VariableList(0, zone()), start_index, end_index, body, |
+ increment, parameter_mode, advance_mode); |
} |
enum class ForEachDirection { kForward, kReverse }; |