aboutsummaryrefslogtreecommitdiff
path: root/model.h
diff options
context:
space:
mode:
Diffstat (limited to 'model.h')
-rw-r--r--model.h7
1 files changed, 2 insertions, 5 deletions
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<EvalObj*> EvalObjSet;