Chromium Code Reviews

Unified Diff: test/cctest/compiler/function-tester.cc

Issue 2507203003: Revert of [refactoring] Split CodeAssemblerState out of CodeAssembler (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « test/cctest/compiler/function-tester.h ('k') | test/cctest/compiler/test-code-assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « test/cctest/compiler/function-tester.h ('k') | test/cctest/compiler/test-code-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine