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