diff options
author | David Robillard <d@drobilla.net> | 2009-03-07 04:55:14 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-03-07 04:55:14 +0000 |
commit | 3322999a97f4170e1476fc4bff431f5ca8909333 (patch) | |
tree | 7031762ceb0ee22ecec62f67e00fe009ae7152a9 /llvm.cpp | |
parent | b754068a1e11cf480469836c6a04c6614f4d63c5 (diff) | |
download | resp-3322999a97f4170e1476fc4bff431f5ca8909333.tar.gz resp-3322999a97f4170e1476fc4bff431f5ca8909333.tar.bz2 resp-3322999a97f4170e1476fc4bff431f5ca8909333.zip |
Consistent external forms.
git-svn-id: http://svn.drobilla.net/resp/tuplr@76 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'llvm.cpp')
-rw-r--r-- | llvm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -493,9 +493,9 @@ call(AType* retT, void* fp) if (lltype(retT) == Type::Int32Ty) ss << ((int32_t (*)())fp)(); else if (lltype(retT) == Type::FloatTy) - ss << ((float (*)())fp)(); + ss << showpoint << ((float (*)())fp)(); else if (lltype(retT) == Type::Int1Ty) - ss << ((bool (*)())fp)(); + ss << (((bool (*)())fp)() ? "#t" : "#f"); else ss << ((void* (*)())fp)(); return ss.str(); |