diff options
author | Teddy <ted.sybil@gmail.com> | 2013-08-11 22:25:22 +0800 |
---|---|---|
committer | Teddy <ted.sybil@gmail.com> | 2013-08-11 22:25:22 +0800 |
commit | 76977635e28e06192a486a9452e03bc7b8f612dc (patch) | |
tree | c8eaf0c22f1516bb88c2a21661a3bc2b8eadd2c6 /model.cpp | |
parent | ab3a756ccb788487136d6982a7ddf6d4053ec133 (diff) |
fixed severe bug in many special opts
Diffstat (limited to 'model.cpp')
-rw-r--r-- | model.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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) {} |