aboutsummaryrefslogtreecommitdiffstats
path: root/llvm.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-06-26 05:54:43 +0000
committerDavid Robillard <d@drobilla.net>2009-06-26 05:54:43 +0000
commit91d2737207d328647e1eb6c66ffca2dcc9277a46 (patch)
tree47d652f7c827a52f6f72b6d6856c9354a4a0ba48 /llvm.cpp
parent755c9629ec34ca5536a49d88821b8b11460756ce (diff)
downloadresp-91d2737207d328647e1eb6c66ffca2dcc9277a46.tar.gz
resp-91d2737207d328647e1eb6c66ffca2dcc9277a46.tar.bz2
resp-91d2737207d328647e1eb6c66ffca2dcc9277a46.zip
More CPS conversion work.
git-svn-id: http://svn.drobilla.net/resp/tuplr@150 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'llvm.cpp')
-rw-r--r--llvm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm.cpp b/llvm.cpp
index 4fa9ca9..1f4c58e 100644
--- a/llvm.cpp
+++ b/llvm.cpp
@@ -254,7 +254,7 @@ AFn::liftCall(CEnv& cenv, const AType& argsT)
}
// Write function declaration
- const string name = (this->name == "") ? cenv.gensym("_fn") : this->name;
+ const string name = (this->name == "") ? cenv.penv.gensymstr("_fn") : this->name;
Function* f = llFunc(cenv.engine()->startFunction(cenv, name,
thisType->at(thisType->size()-1)->to<AType*>(),
*protT, argNames));