From 1928afa8968b8bb5b921da52c0e845e42dde518b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 28 Dec 2010 06:16:48 +0000 Subject: Tidy. git-svn-id: http://svn.drobilla.net/resp/resp@363 ad02d1e2-f140-0410-9f75-f8b11f17cedd --- src/llvm.cpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'src') diff --git a/src/llvm.cpp b/src/llvm.cpp index f6874d7..4c8ff2a 100644 --- a/src/llvm.cpp +++ b/src/llvm.cpp @@ -61,15 +61,15 @@ struct LLVMEngine : public Engine { void finishFn(CEnv& cenv, CFunc f, CVal ret); void eraseFn(CEnv& cenv, CFunc f); - CVal compileCall(CEnv& cenv, CFunc f, const ATuple* funcT, const vector& args); - CVal compileCons(CEnv& cenv, const ATuple* type, CVal rtti, const vector& fields); - CVal compileDot(CEnv& cenv, CVal tup, int32_t index); - CVal compileGlobalSet(CEnv& cenv, const string& s, CVal v, const AST* t); - CVal compileGlobalGet(CEnv& cenv, const string& s, CVal v); - CVal compileIf(CEnv& cenv, const AST* cond, const AST* then, const AST* aelse); - CVal compileLiteral(CEnv& cenv, const AST* lit); - CVal compilePrimitive(CEnv& cenv, const ATuple* prim); - CVal compileString(CEnv& cenv, const char* str); + CVal compileCall(CEnv& cenv, CFunc f, const ATuple* funcT, const vector& args); + CVal compileCons(CEnv& cenv, const ATuple* type, CVal rtti, const vector& fields); + CVal compileDot(CEnv& cenv, CVal tup, int32_t index); + CVal compileGlobalSet(CEnv& cenv, const string& s, CVal v, const AST* t); + CVal compileGlobalGet(CEnv& cenv, const string& s, CVal v); + CVal compileIf(CEnv& cenv, const AST* cond, const AST* then, const AST* aelse); + CVal compileLiteral(CEnv& cenv, const AST* lit); + CVal compilePrimitive(CEnv& cenv, const ATuple* prim); + CVal compileString(CEnv& cenv, const char* str); void writeModule(CEnv& cenv, std::ostream& os); @@ -85,12 +85,12 @@ private: inline Function* llFunc(CFunc f) { return static_cast(f); } const Type* llType(const AST* t); - LLVMContext context; - Module* module; - ExecutionEngine* engine; - IRBuilder<> builder; - Function* alloc; - FunctionPassManager* opt; + LLVMContext context; + Module* module; + ExecutionEngine* engine; + IRBuilder<> builder; + Function* alloc; + FunctionPassManager* opt; unsigned labelIndex; }; -- cgit v1.2.1