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/resp.hpp | |
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/resp.hpp')
-rw-r--r-- | src/resp.hpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/resp.hpp b/src/resp.hpp index f12c4c9..f952c40 100644 --- a/src/resp.hpp +++ b/src/resp.hpp @@ -671,11 +671,6 @@ struct Engine { const ATuple* args, const ATuple* type) = 0; - virtual void pushFnArgs(CEnv& cenv, - const ATuple* prot, - const ATuple* type, - CFunc f) = 0; - virtual void finishFn(CEnv& cenv, CVal ret, const AST* retT) = 0; virtual CFunc getFn(CEnv& cenv, const std::string& name) = 0; virtual void eraseFn(CEnv& cenv, CFunc f) = 0; @@ -784,6 +779,8 @@ struct CEnv { map<string,string> args; + map<string, CVal> globals; + typedef map<const char*, CVal> CSyms; CSyms cSyms; |