aboutsummaryrefslogtreecommitdiffstats
path: root/tuplr.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tuplr.hpp')
-rw-r--r--tuplr.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tuplr.hpp b/tuplr.hpp
index 48c3fe6..f70fc9c 100644
--- a/tuplr.hpp
+++ b/tuplr.hpp
@@ -144,8 +144,7 @@ struct CEnv; ///< Compile-Time Environment
struct GC {
enum Tag {
TAG_AST = 2, ///< Abstract syntax tree node
- TAG_TYPE = 4, ///< Type
- TAG_FRAME = 6 ///< Stack frame
+ TAG_FRAME = 4 ///< Stack frame
};
typedef std::list<const Object*> Roots;
typedef std::list<Object*> Heap;
@@ -325,7 +324,6 @@ struct AType : public ATuple {
}
return false; // never reached
}
- static void* operator new(size_t size) { return pool.alloc(size, GC::TAG_TYPE); }
enum { VAR, PRIM, EXPR } kind;
unsigned id;
};