Index: src/compiler/code-assembler.h |
diff --git a/src/compiler/code-assembler.h b/src/compiler/code-assembler.h |
index 981a8374368d6f64f369ea3683ad04aa8007c62b..5418c3314abf7b669d6ddf1d45e7b83d37f27044 100644 |
--- a/src/compiler/code-assembler.h |
+++ b/src/compiler/code-assembler.h |
@@ -300,16 +300,8 @@ class V8_EXPORT_PRIVATE CodeAssembler { |
Node* Projection(int index, Node* value); |
// Calls |
- Node* CallRuntime(Runtime::FunctionId function_id, Node* context); |
- Node* CallRuntime(Runtime::FunctionId function_id, Node* context, Node* arg1); |
- Node* CallRuntime(Runtime::FunctionId function_id, Node* context, Node* arg1, |
- Node* arg2); |
- Node* CallRuntime(Runtime::FunctionId function_id, Node* context, Node* arg1, |
- Node* arg2, Node* arg3); |
- Node* CallRuntime(Runtime::FunctionId function_id, Node* context, Node* arg1, |
- Node* arg2, Node* arg3, Node* arg4); |
- Node* CallRuntime(Runtime::FunctionId function_id, Node* context, Node* arg1, |
- Node* arg2, Node* arg3, Node* arg4, Node* arg5); |
+ template <class... TArgs> |
+ Node* CallRuntime(Runtime::FunctionId function, Node* context, TArgs... args); |
Node* TailCallRuntime(Runtime::FunctionId function_id, Node* context); |
Node* TailCallRuntime(Runtime::FunctionId function_id, Node* context, |