From 410466cdd374f1324663af2fdd5e3fc1dceccde7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 8 Dec 2010 01:26:35 +0000 Subject: compileTup => compileCons git-svn-id: http://svn.drobilla.net/resp/resp@310 ad02d1e2-f140-0410-9f75-f8b11f17cedd --- src/llvm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/llvm.cpp') diff --git a/src/llvm.cpp b/src/llvm.cpp index bc90977..0dfbc69 100644 --- a/src/llvm.cpp +++ b/src/llvm.cpp @@ -197,7 +197,7 @@ struct LLVMEngine : public Engine { return builder.CreateCall(llFunc(f), llArgs.begin(), llArgs.end()); } - CVal compileTup(CEnv& cenv, const AType* type, CVal rtti, const vector& fields); + CVal compileCons(CEnv& cenv, const AType* type, CVal rtti, const vector& fields); CVal compileDot(CEnv& cenv, CVal tup, int32_t index); CVal compileLiteral(CEnv& cenv, const AST* lit); CVal compileString(CEnv& cenv, const char* str); @@ -295,7 +295,7 @@ bitsToBytes(size_t bits) } CVal -LLVMEngine::compileTup(CEnv& cenv, const AType* type, CVal rtti, const vector& fields) +LLVMEngine::compileCons(CEnv& cenv, const AType* type, CVal rtti, const vector& fields) { // Find size of memory required size_t s = engine->getTargetData()->getTypeSizeInBits(PointerType::get(Type::getInt8Ty(context), NULL)); -- cgit v1.2.1