diff options
Diffstat (limited to 'model.h')
-rw-r--r-- | model.h | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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<EvalObj*> EvalObjSet; |