From 1b61928f542f1c54ac67791f382b20b39927eac5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 2 Dec 2010 18:36:49 +0000 Subject: Remove use of ACall class hierarchy from compile phase. git-svn-id: http://svn.drobilla.net/resp/resp@281 ad02d1e2-f140-0410-9f75-f8b11f17cedd --- src/c.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/c.cpp') diff --git a/src/c.cpp b/src/c.cpp index 4d53436..7cd72da 100644 --- a/src/c.cpp +++ b/src/c.cpp @@ -159,8 +159,8 @@ struct CEngine : public Engine { CVal compileLiteral(CEnv& cenv, const AST* lit); CVal compileString(CEnv& cenv, const char* str); CVal compilePrimitive(CEnv& cenv, const APrimitive* prim); - CVal compileIf(CEnv& cenv, const AIf* aif); - CVal compileMatch(CEnv& cenv, const AMatch* match); + CVal compileIf(CEnv& cenv, const ACall* aif); + CVal compileMatch(CEnv& cenv, const ACall* match); CVal compileGlobal(CEnv& cenv, const AType* type, const string& sym, CVal val); CVal getGlobal(CEnv& cenv, const string& sym, CVal val); @@ -230,7 +230,7 @@ CEngine::pushFunctionArgs(CEnv& cenv, const AFn* fn, const AType* type, CFunc f) } CVal -CEngine::compileIf(CEnv& cenv, const AIf* aif) +CEngine::compileIf(CEnv& cenv, const ACall* aif) { Value* varname = new string(cenv.penv.gensymstr("if")); out += (format("%s %s;\n") % *llType(cenv.type(aif)) % *varname).str(); @@ -262,7 +262,7 @@ CEngine::compileIf(CEnv& cenv, const AIf* aif) } CVal -CEngine::compileMatch(CEnv& cenv, const AMatch* match) +CEngine::compileMatch(CEnv& cenv, const ACall* match) { return NULL; } -- cgit v1.2.1