diff options
author | David Robillard <d@drobilla.net> | 2010-12-08 01:26:35 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-12-08 01:26:35 +0000 |
commit | 410466cdd374f1324663af2fdd5e3fc1dceccde7 (patch) | |
tree | 76069a0cbfbf94ba1788c903476cb45512f622b5 /src/llvm.cpp | |
parent | 521e800dd89a343cb5b779c7a4f6c56e6437bcb9 (diff) | |
download | resp-410466cdd374f1324663af2fdd5e3fc1dceccde7.tar.gz resp-410466cdd374f1324663af2fdd5e3fc1dceccde7.tar.bz2 resp-410466cdd374f1324663af2fdd5e3fc1dceccde7.zip |
compileTup => compileCons
git-svn-id: http://svn.drobilla.net/resp/resp@310 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/llvm.cpp')
-rw-r--r-- | src/llvm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<CVal>& fields); + CVal compileCons(CEnv& cenv, const AType* type, CVal rtti, const vector<CVal>& 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<CVal>& fields) +LLVMEngine::compileCons(CEnv& cenv, const AType* type, CVal rtti, const vector<CVal>& fields) { // Find size of memory required size_t s = engine->getTargetData()->getTypeSizeInBits(PointerType::get(Type::getInt8Ty(context), NULL)); |