diff options
Diffstat (limited to 'eval/src/tests/eval/compiled_function/compiled_function_test.cpp')
-rw-r--r-- | eval/src/tests/eval/compiled_function/compiled_function_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eval/src/tests/eval/compiled_function/compiled_function_test.cpp b/eval/src/tests/eval/compiled_function/compiled_function_test.cpp index 0e9806d5381..151a4cf5dd5 100644 --- a/eval/src/tests/eval/compiled_function/compiled_function_test.cpp +++ b/eval/src/tests/eval/compiled_function/compiled_function_test.cpp @@ -178,7 +178,7 @@ TEST("dump ir code to verify lazy casting") { Function function = Function::parse({"a", "b"}, "12==2+if(a==3&&a<10||b,10,5)"); LLVMWrapper wrapper; size_t id = wrapper.make_function(function.num_params(), PassParams::SEPARATE, function.root(), {}); - wrapper.compile(true); // dump module before compiling it + wrapper.compile(llvm::dbgs()); // dump module before compiling it using fun_type = double (*)(double, double); fun_type fun = (fun_type) wrapper.get_function_address(id); EXPECT_EQUAL(0.0, fun(0.0, 0.0)); |