Index: test/cctest/compiler/function-tester.cc |
diff --git a/test/cctest/compiler/function-tester.cc b/test/cctest/compiler/function-tester.cc |
index bee8f63312b954950440c70198ebeedcfbbc16c7..24a49b852cc64f26571498a2328295fe71cb7588 100644 |
--- a/test/cctest/compiler/function-tester.cc |
+++ b/test/cctest/compiler/function-tester.cc |
@@ -46,7 +46,9 @@ |
function->ReplaceCode(*code); |
} |
-FunctionTester::FunctionTester(Handle<Code> code) : FunctionTester(code, 0) {} |
+FunctionTester::FunctionTester(const CallInterfaceDescriptor& descriptor, |
+ Handle<Code> code) |
+ : FunctionTester(code, descriptor.GetParameterCount()) {} |
MaybeHandle<Object> FunctionTester::Call() { |
return Execution::Call(isolate, function, undefined(), 0, nullptr); |