From 8aeb7f59e1da79411c02d1c502d4e7331733e2a0 Mon Sep 17 00:00:00 2001 From: Teddy Date: Thu, 15 Aug 2013 13:53:59 +0800 Subject: ... --- model.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'model.h') diff --git a/model.h b/model.h index ba40137..fd88f7d 100644 --- a/model.h +++ b/model.h @@ -48,14 +48,13 @@ class FrameObj { }; +class ObjEntry; class Pair; class ReprCons; /** @class EvalObj * Objects that represents a value in evaluation */ class EvalObj : public FrameObj { - private: - size_t gc_cnt; protected: /** * Report the type of the EvalObj, which can avoid the use of @@ -63,6 +62,7 @@ class EvalObj : public FrameObj { */ int otype; public: + ObjEntry *gc_obj; /** * Construct an EvalObj * @param otype the type of the EvalObj (CLS_PAIR_OBJ for a @@ -101,9 +101,6 @@ class EvalObj : public FrameObj { virtual bool is_true(); /** External representation construction */ virtual ReprCons *get_repr_cons() = 0; - bool gc_dec(); - void gc_inc(); - size_t gc_get_cnt(); }; typedef std::set EvalObjSet; -- cgit v1.2.3