aboutsummaryrefslogtreecommitdiffstats
path: root/typing.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-06-19 03:33:41 +0000
committerDavid Robillard <d@drobilla.net>2009-06-19 03:33:41 +0000
commit38b50b89bc638fe5d94bc6523c574504a5ef368d (patch)
tree26a4040749843ea8f3eed769d068f838229630ae /typing.cpp
parent855456a9d98c5c27bb2b00bab4018630598117fa (diff)
downloadresp-38b50b89bc638fe5d94bc6523c574504a5ef368d.tar.gz
resp-38b50b89bc638fe5d94bc6523c574504a5ef368d.tar.bz2
resp-38b50b89bc638fe5d94bc6523c574504a5ef368d.zip
Factor out memory/GC related things from AST to Object.
git-svn-id: http://svn.drobilla.net/resp/tuplr@124 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'typing.cpp')
-rw-r--r--typing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/typing.cpp b/typing.cpp
index fd8e35e..3b14a1f 100644
--- a/typing.cpp
+++ b/typing.cpp
@@ -108,7 +108,7 @@ AClosure::constrain(TEnv& tenv, Constraints& c) const
genericType = new AType(loc, tenv.penv.sym("Fn"),
tsubst.apply(protT), tsubst.apply(bodyT), 0);
tenv.genericTypes.insert(make_pair(this, genericType));
- AST::pool.addRoot(genericType);
+ Object::pool.addRoot(genericType);
tenv.pop();
subst = tsubst;