aboutsummaryrefslogtreecommitdiff
path: root/model.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'model.cpp')
-rw-r--r--model.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/model.cpp b/model.cpp
index 53b5541..938deca 100644
--- a/model.cpp
+++ b/model.cpp
@@ -62,6 +62,10 @@ bool EvalObj::is_prom_obj() {
return otype & CLS_PROM_OBJ;
}
+bool EvalObj::is_vect_obj() {
+ return otype & CLS_VECT_OBJ;
+}
+
int EvalObj::get_otype() {
return otype;
}
@@ -125,3 +129,6 @@ string EvalObj::ext_repr() {
res = "(" + res + ")";
return res;
}
+
+RetAddr::RetAddr(Pair *_addr, Pair *_state) :
+ FrameObj(CLS_RET_ADDR), addr(_addr), state(_state) {}