diff options
author | David Robillard <d@drobilla.net> | 2012-10-15 20:08:52 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-10-15 20:08:52 +0000 |
commit | 60cb2bb1a12a1393abdc0d82b40ea0feabe3a74d (patch) | |
tree | 42ab3460523da85011a448f74c6f430888942df9 /src/compile.cpp | |
parent | 7bdf853545a3d1bcaf7ae028a0409007862c3382 (diff) | |
download | resp-60cb2bb1a12a1393abdc0d82b40ea0feabe3a74d.tar.gz resp-60cb2bb1a12a1393abdc0d82b40ea0feabe3a74d.tar.bz2 resp-60cb2bb1a12a1393abdc0d82b40ea0feabe3a74d.zip |
Update for LLVM 3.1
git-svn-id: http://svn.drobilla.net/resp/trunk@433 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/compile.cpp')
-rw-r--r-- | src/compile.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compile.cpp b/src/compile.cpp index fd5baff..ecd0807 100644 --- a/src/compile.cpp +++ b/src/compile.cpp @@ -64,8 +64,9 @@ compile_cons(CEnv& cenv, const ATuple* cons) throw() tlist.push_back(cenv.type(*i)); fields.push_back(resp_compile(cenv, *i)); } + const std::string tstr = cenv.type(cons, Subst(), false)->as_symbol()->str(); return cenv.engine()->compileCons( - cenv, type, compile_literal_symbol(cenv, tname), fields); + cenv, tstr.c_str(), type, compile_literal_symbol(cenv, tname), fields); } static CVal |