Changeset 239 in dev for trunk/abdev


Ignore:
Timestamp:
Jul 26, 2007, 2:06:39 PM (17 years ago)
Author:
dai_9181
Message:
 
Location:
trunk/abdev/BasicCompiler_Common
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler_Common/include/CodeGenerator.h

    r238 r239  
    2121    class PertialSchedule
    2222    {
    23         int id;         // 通し番号
    24 
    2523        int codePos;    // バッファ位置
    2624        int typeSize;   // 対象サイズ(一般的には8bit/32bit)
     
    3230            , typeSize( typeSize )
    3331        {
    34             static int _id = 0;
    35             id = _id++;
    36 
    3732            extern int obp;
    3833            _obpOld = obp;
     
    4237        }
    4338
    44         bool IsEquals( const PertialSchedule &pertialSchedule )
    45         {
    46             return ( this->id == pertialSchedule.id );
    47         }
    48 
    4939        int GetCodePos() const
    5040        {
     
    6252
    6353private:
    64     typedef std::vector<PertialSchedule> PertialSchedules;
     54    typedef std::vector<PertialSchedule *> PertialSchedules;
    6555    PertialSchedules pertialSchedules;
    6656
Note: See TracChangeset for help on using the changeset viewer.