summaryrefslogtreecommitdiffstats
path: root/eval/src/tests
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@oath.com>2018-08-08 09:35:14 +0200
committerHenning Baldersheim <balder@oath.com>2018-08-08 09:35:14 +0200
commit922b0b3b4ec730329561b1954b7055c152fd45b9 (patch)
tree427ddb8f403190ba7e163067798208b658dffb3b /eval/src/tests
parentad4e3a8ca7dd8d6a90555de93c37b04107f10df0 (diff)
dump -> print(stream)
Diffstat (limited to 'eval/src/tests')
-rw-r--r--eval/src/tests/eval/compiled_function/compiled_function_test.cpp2
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));