diff options
author | David Robillard <d@drobilla.net> | 2009-03-07 04:35:13 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-03-07 04:35:13 +0000 |
commit | b754068a1e11cf480469836c6a04c6614f4d63c5 (patch) | |
tree | 7aa986f288e6b967db5b2de664acbe29a13690d3 /llvm.cpp | |
parent | 6d9b8a06e9d9fece731d045db2f815f261db09c3 (diff) | |
download | resp-b754068a1e11cf480469836c6a04c6614f4d63c5.tar.gz resp-b754068a1e11cf480469836c6a04c6614f4d63c5.tar.bz2 resp-b754068a1e11cf480469836c6a04c6614f4d63c5.zip |
Stream based serialisation of AST nodes (can write arbitrarily large expressions without chewing memory).
git-svn-id: http://svn.drobilla.net/resp/tuplr@75 ad02d1e2-f140-0410-9f75-f8b11f17cedd
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; } |