aboutsummaryrefslogtreecommitdiff
path: root/model.cpp
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2013-08-11 22:25:22 +0800
committerTeddy <ted.sybil@gmail.com>2013-08-11 22:25:22 +0800
commit76977635e28e06192a486a9452e03bc7b8f612dc (patch)
treec8eaf0c22f1516bb88c2a21661a3bc2b8eadd2c6 /model.cpp
parentab3a756ccb788487136d6982a7ddf6d4053ec133 (diff)
fixed severe bug in many special opts
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) {}