diff options
-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; |