diff options
author | David Robillard <d@drobilla.net> | 2010-12-02 18:36:49 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-12-02 18:36:49 +0000 |
commit | 1b61928f542f1c54ac67791f382b20b39927eac5 (patch) | |
tree | a1b516f08b965fa962514b75882d2d9c00ec7781 /src/c.cpp | |
parent | a2021fceed6810a5c9f2f14632fc40a5c122cf0e (diff) | |
download | resp-1b61928f542f1c54ac67791f382b20b39927eac5.tar.gz resp-1b61928f542f1c54ac67791f382b20b39927eac5.tar.bz2 resp-1b61928f542f1c54ac67791f382b20b39927eac5.zip |
Remove use of ACall class hierarchy from compile phase.
git-svn-id: http://svn.drobilla.net/resp/resp@281 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/c.cpp')
-rw-r--r-- | src/c.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; } |