aboutsummaryrefslogtreecommitdiffstats
path: root/src/c.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-15 20:15:27 +0000
committerDavid Robillard <d@drobilla.net>2011-05-15 20:15:27 +0000
commit8cbb1c710d6c8877dfc2871dc3f068b52598a884 (patch)
treee1a7b157be12dbaafc8baee861407242595d0e4f /src/c.cpp
parentec6bd7cded43bfd3ba1491c8ec08eb1975334e4e (diff)
downloadresp-8cbb1c710d6c8877dfc2871dc3f068b52598a884.tar.gz
resp-8cbb1c710d6c8877dfc2871dc3f068b52598a884.tar.bz2
resp-8cbb1c710d6c8877dfc2871dc3f068b52598a884.zip
Generate code entirely via emitting flat IR (don't special case main/repl).
git-svn-id: http://svn.drobilla.net/resp/trunk@427 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/c.cpp')
-rw-r--r--src/c.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/c.cpp b/src/c.cpp
index d83ff95..f172b65 100644
--- a/src/c.cpp
+++ b/src/c.cpp
@@ -42,7 +42,6 @@ struct CEngine : public Engine {
}
CFunc startFn(CEnv& cenv, const string& name, const ATuple* args, const ATuple* type);
- void pushFnArgs(CEnv& cenv, const ATuple* prot, const ATuple* type, CFunc f);
void finishFn(CEnv& cenv, CFunc f, CVal ret, const AST* retT);
void eraseFn(CEnv& cenv, CFunc f);
@@ -63,6 +62,8 @@ struct CEngine : public Engine {
const string call(CEnv& cenv, CFunc f, const AST* retT);
private:
+ void pushFnArgs(CEnv& cenv, const ATuple* prot, const ATuple* type, CFunc f);
+
typedef string Type;
typedef string Value;