dataflow uses iterators now

This commit is contained in:
Artur K
2011-12-13 22:42:29 +01:00
parent b3fa570792
commit a007955543
6 changed files with 110 additions and 110 deletions

View File

@@ -45,6 +45,8 @@ public:
Int end();
Int rbegin();
Int rend();
riICODE rbegin2();
riICODE rend2();
ICODE &front();
ICODE &back();
size_t size();

View File

@@ -327,6 +327,7 @@ struct DU1
IC ic;/* intermediate code */
int loc_ip; // used by CICodeRec to number ICODEs
void ClrLlFlag(dword flag) {ic.ll.flg &= ~flag;}
void SetLlFlag(dword flag) {ic.ll.flg |= flag;}
dword GetLlFlag() {return ic.ll.flg;}
bool isLlFlag(dword flg) {return (ic.ll.flg&flg)==flg;}
@@ -373,3 +374,4 @@ public:
ICODE * GetIcode(int ip);
};
typedef CIcodeRec::iterator iICODE;
typedef CIcodeRec::reverse_iterator riICODE;