diff options
author | David Robillard <d@drobilla.net> | 2011-05-15 20:15:27 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-05-15 20:15:27 +0000 |
commit | 8cbb1c710d6c8877dfc2871dc3f068b52598a884 (patch) | |
tree | e1a7b157be12dbaafc8baee861407242595d0e4f /src/c.cpp | |
parent | ec6bd7cded43bfd3ba1491c8ec08eb1975334e4e (diff) | |
download | resp-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.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |