From 8cbb1c710d6c8877dfc2871dc3f068b52598a884 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 15 May 2011 20:15:27 +0000 Subject: 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 --- src/resp.hpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/resp.hpp') 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 args; + map globals; + typedef map CSyms; CSyms cSyms; -- cgit v1.2.1