diff options
author | David Robillard <d@drobilla.net> | 2009-06-19 03:33:41 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-06-19 03:33:41 +0000 |
commit | 38b50b89bc638fe5d94bc6523c574504a5ef368d (patch) | |
tree | 26a4040749843ea8f3eed769d068f838229630ae /typing.cpp | |
parent | 855456a9d98c5c27bb2b00bab4018630598117fa (diff) | |
download | resp-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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |