Ignore:
Timestamp:
Aug 3, 2007, 11:53:50 PM (17 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

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

    r258 r261  
    8181typedef std::vector<const GotoLabelSchedule *> GotoLabelSchedules;
    8282
     83//ラベルアドレス
     84class GotoLabel
     85{
     86public:
     87    std::string name;
     88    int line;
     89    DWORD address;
     90
     91    GotoLabel( const std::string &name, long nativeCodePos )
     92        : name( name )
     93        , line( -1 )
     94        , address( nativeCodePos )
     95    {
     96    }
     97    GotoLabel( int line, long nativeCodePos )
     98        : name( "" )
     99        , line( line )
     100        , address( nativeCodePos )
     101    {
     102    }
     103};
     104typedef std::vector<GotoLabel> GotoLabels;
     105
    83106class LexicalScope
    84107{
     
    190213
    191214    // Gotoスケジュールの管理
     215    GotoLabels gotoLabels;
    192216    GotoLabelSchedules gotoLabelSchedules;
    193217
Note: See TracChangeset for help on using the changeset viewer.