Changeset 239 in dev for trunk/abdev/BasicCompiler_Common/include
- Timestamp:
- Jul 26, 2007, 2:06:39 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/include/CodeGenerator.h
r238 r239 21 21 class PertialSchedule 22 22 { 23 int id; // 通し番号24 25 23 int codePos; // バッファ位置 26 24 int typeSize; // 対象サイズ(一般的には8bit/32bit) … … 32 30 , typeSize( typeSize ) 33 31 { 34 static int _id = 0;35 id = _id++;36 37 32 extern int obp; 38 33 _obpOld = obp; … … 42 37 } 43 38 44 bool IsEquals( const PertialSchedule &pertialSchedule )45 {46 return ( this->id == pertialSchedule.id );47 }48 49 39 int GetCodePos() const 50 40 { … … 62 52 63 53 private: 64 typedef std::vector<PertialSchedule > PertialSchedules;54 typedef std::vector<PertialSchedule *> PertialSchedules; 65 55 PertialSchedules pertialSchedules; 66 56
Note:
See TracChangeset
for help on using the changeset viewer.