diff options
author | David Robillard <d@drobilla.net> | 2010-12-31 02:22:29 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-12-31 02:22:29 +0000 |
commit | a21170bfe840ec763db261ec0ba3b5ed6b5cea3e (patch) | |
tree | c24f693c225f2858ed1b0de7eb175957be5c0e62 /src | |
parent | 9b181a9be13efff7e404ca1712e5933a330d83cd (diff) | |
download | resp-a21170bfe840ec763db261ec0ba3b5ed6b5cea3e.tar.gz resp-a21170bfe840ec763db261ec0ba3b5ed6b5cea3e.tar.bz2 resp-a21170bfe840ec763db261ec0ba3b5ed6b5cea3e.zip |
Remove unused Engine::objectType().
git-svn-id: http://svn.drobilla.net/resp/resp@386 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src')
-rw-r--r-- | src/c.cpp | 8 | ||||
-rw-r--r-- | src/llvm.cpp | 8 | ||||
-rw-r--r-- | src/resp.hpp | 2 |
3 files changed, 0 insertions, 18 deletions
@@ -58,8 +58,6 @@ struct CEngine : public Engine { CVal compileString(CEnv& cenv, const char* str); CType compileType(CEnv& cenv, const char* name, const AST* exp); - CType objectType(CEnv& cenv); - void writeModule(CEnv& cenv, std::ostream& os); const string call(CEnv& cenv, CFunc f, const AST* retT); @@ -175,12 +173,6 @@ CEngine::compileType(CEnv& cenv, const char* name, const AST* expr) return NULL; } -CType -CEngine::objectType(CEnv& cenv) -{ - return new string("Object"); -} - CFunc CEngine::startFn(CEnv& cenv, const std::string& name, const ATuple* args, const ATuple* type) { diff --git a/src/llvm.cpp b/src/llvm.cpp index fcac73c..a3882c8 100644 --- a/src/llvm.cpp +++ b/src/llvm.cpp @@ -73,8 +73,6 @@ struct LLVMEngine : public Engine { CVal compileString(CEnv& cenv, const char* str); CType compileType(CEnv& cenv, const char* name, const AST* exp); - CType objectType(CEnv& cenv); - void writeModule(CEnv& cenv, std::ostream& os); const string call(CEnv& cenv, CFunc f, const AST* retT); @@ -289,12 +287,6 @@ LLVMEngine::compileType(CEnv& cenv, const char* name, const AST* expr) return type; } -CType -LLVMEngine::objectType(CEnv& cenv) -{ - return objectT; -} - CFunc LLVMEngine::startFn( CEnv& cenv, const std::string& name, const ATuple* args, const ATuple* type) diff --git a/src/resp.hpp b/src/resp.hpp index acd5213..a5bf99d 100644 --- a/src/resp.hpp +++ b/src/resp.hpp @@ -669,8 +669,6 @@ struct Engine { virtual CVal compileString(CEnv& cenv, const char* str) = 0; virtual CType compileType(CEnv& cenv, const char* name, const AST* exp) = 0; - virtual CType objectType(CEnv& cenv) = 0; - virtual void writeModule(CEnv& cenv, std::ostream& os) = 0; virtual const string call(CEnv& cenv, CFunc f, const AST* retT) = 0; |