diff options
author | David Robillard <d@drobilla.net> | 2012-12-15 07:06:22 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-12-15 07:06:22 +0000 |
commit | 10174ffc7ea08b7845dbe409a11811e820536468 (patch) | |
tree | c74187d11b7f35c739045e7000d2fa505ac9499a /src/c.cpp | |
parent | 8148e755d3f587e6c212ba90efc151ea07de2703 (diff) | |
download | resp-10174ffc7ea08b7845dbe409a11811e820536468.tar.gz resp-10174ffc7ea08b7845dbe409a11811e820536468.tar.bz2 resp-10174ffc7ea08b7845dbe409a11811e820536468.zip |
Compile constructors as LLVM struct types.
Use LLVM type names instead of hyper verbose literal types in more places in general.
More work on quoting.
git-svn-id: http://svn.drobilla.net/resp/trunk@439 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/c.cpp')
-rw-r--r-- | src/c.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -55,7 +55,7 @@ struct CEngine : public Engine { CVal compileLiteral(CEnv& cenv, const AST* lit); CVal compilePrimitive(CEnv& cenv, const ATuple* prim); CVal compileString(CEnv& cenv, const char* str); - CType compileType(CEnv& cenv, const char* name, const AST* exp); + CType compileType(CEnv& cenv, const std::string& name, const AST* exp); void writeModule(CEnv& cenv, std::ostream& os); @@ -169,7 +169,7 @@ CEngine::compileString(CEnv& cenv, const char* str) } CType -CEngine::compileType(CEnv& cenv, const char* name, const AST* expr) +CEngine::compileType(CEnv& cenv, const std::string& name, const AST* expr) { return NULL; } |