diff options
Diffstat (limited to 'llvm.cpp')
-rw-r--r-- | llvm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |