aboutsummaryrefslogtreecommitdiffstats
path: root/llvm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm.cpp')
-rw-r--r--llvm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm.cpp b/llvm.cpp
index c0c46c9..3ccb1d7 100644
--- a/llvm.cpp
+++ b/llvm.cpp
@@ -540,7 +540,7 @@ eval(CEnv& cenv, const string& name, istream& is)
cenv.optimise(f);
cenv.log.out << call(resultType, cenv.engine.engine->getPointerToFunction(f))
- << " : " << resultType->str() << endl;
+ << " : " << resultType << endl;
} catch (Error& e) {
cenv.log.err << e.what() << endl;
return 1;
@@ -584,7 +584,7 @@ repl(CEnv& cenv)
} else {
cenv.log.out << "; " << cenv.compile(body);
}
- cenv.log.out << " : " << cenv.tenv.type(body)->str() << endl;
+ cenv.log.out << " : " << cenv.tenv.type(body) << endl;
} catch (Error& e) {
cenv.log.err << e.what() << endl;
}