Changeset 768 in dev


Ignore:
Timestamp:
Dec 30, 2008, 1:56:34 PM (15 years ago)
Author:
dai
Message:

[750]をx64版にマージ

Location:
trunk/ab5.0/abdev/compiler_x64
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/compiler_x64/Compile_Object.cpp

    r729 r768  
    104104    {
    105105        std::string tempMessage;
    106         BOOST_FOREACH( const CMethod *pMethod, pClass->GetDynamicMethods() ){
     106        foreach( const CMethod *pMethod, pClass->GetDynamicMethods() ){
    107107            if(pMethod->IsVirtual()){
    108108                if(pMethod->IsAbstract()){
     
    117117
    118118        // インターフェイスのvtbl
    119         BOOST_FOREACH( const ::Interface *pInterface, pClass->GetInterfaces() )
     119        foreach( const ::Interface *pInterface, pClass->GetInterfaces() )
    120120        {
    121             BOOST_FOREACH( const CMethod *pMethod, pInterface->GetDynamicMethods() ){
     121            foreach( const CMethod *pMethod, pInterface->GetDynamicMethods() ){
    122122                if(pMethod->IsVirtual()){
    123123                    if(pMethod->IsAbstract()){
     
    256256
    257257        // 仮想関数になるメソッドに使用チェックをつける
    258         BOOST_FOREACH( const CMethod *pMethod, pClass->GetDynamicMethods() )
     258        foreach( const CMethod *pMethod, pClass->GetDynamicMethods() )
    259259        {
    260260            if( pMethod->IsVirtual() )
     
    263263            }
    264264        }
    265         BOOST_FOREACH( const ::Interface *pInterface, pClass->GetInterfaces() )
     265        foreach( const ::Interface *pInterface, pClass->GetInterfaces() )
    266266        {
    267             BOOST_FOREACH( const CMethod *pMethod, pInterface->GetDynamicMethods() )
     267            foreach( const CMethod *pMethod, pInterface->GetDynamicMethods() )
    268268            {
    269269                if( pMethod->IsVirtual() )
  • trunk/ab5.0/abdev/compiler_x64/Compile_ProcOp.cpp

    r729 r768  
    6666        const PertialSchedule *pStackFramePertialSchedule = compiler.codeGenerator.op_sub_rsp( 0, true );
    6767
    68         BOOST_FOREACH( Variable *pVar, compiler.GetObjectModule().meta.GetGlobalVars() ){
     68        foreach( Variable *pVar, compiler.GetObjectModule().meta.GetGlobalVars() ){
     69
     70
     71
    6972            if(memicmp(pVar->GetName().c_str(),"Static%",7)==0){
    7073                //コンストラクタ呼び出し
     
    151154
    152155        //Goto未知ラベルスケジュールが存在したらエラーにする
    153         BOOST_FOREACH( const GotoLabelSchedule *pGotoLabelSchedule, compiler.codeGenerator.gotoLabelSchedules )
     156        foreach( const GotoLabelSchedule *pGotoLabelSchedule, compiler.codeGenerator.gotoLabelSchedules )
    154157        {
    155158            if(pGotoLabelSchedule->GetName().size()>0){
     
    645648
    646649    //ローカル変数アドレススケジュール
    647     BOOST_FOREACH( const PertialSchedule *pPertialSchedule, compiler.codeGenerator.localVarPertialSchedules )
     650    foreach( const PertialSchedule *pPertialSchedule, compiler.codeGenerator.localVarPertialSchedules )
    648651    {
    649652        compiler.codeGenerator.opfix_offset( pPertialSchedule, AllLocalVarSize + stackFrameSize );
    650653    }
    651654    compiler.codeGenerator.localVarPertialSchedules.clear();
    652     BOOST_FOREACH( Variable *pVar, pUserProc->GetLocalVars() ){
     655    foreach( Variable *pVar, pUserProc->GetLocalVars() ){
    653656        //後にデバッグで利用する
    654657        pVar->SetOffsetAddress(
  • trunk/ab5.0/abdev/compiler_x64/Compile_Statement.cpp

    r720 r768  
    248248int GetLabelAddress(char *LabelName,int LineNum){
    249249    if(LabelName){
    250         BOOST_FOREACH( const GotoLabel &label, compiler.codeGenerator.gotoLabels )
     250        foreach( const GotoLabel &label, compiler.codeGenerator.gotoLabels )
    251251        {
    252252            if( label.name.size() > 0 )
     
    260260    }
    261261    else{
    262         BOOST_FOREACH( const GotoLabel &label, compiler.codeGenerator.gotoLabels )
     262        foreach( const GotoLabel &label, compiler.codeGenerator.gotoLabels )
    263263        {
    264264            if( label.name.size() == 0 )
  • trunk/ab5.0/abdev/compiler_x64/Compile_Var.cpp

    r746 r768  
    810810
    811811            int i = 0;
    812             BOOST_FOREACH( Member *pMember, objClass.GetDynamicMembers() ){
     812            foreach( Member *pMember, objClass.GetDynamicMembers() ){
    813813                if(InitBuf[i]=='\0'){
    814814                    compiler.errorMessenger.Output(41,0,cp);
     
    972972
    973973            int i = 0;
    974             BOOST_FOREACH( Member *pMember, objClass.GetDynamicMembers() ){
     974            foreach( Member *pMember, objClass.GetDynamicMembers() ){
    975975                if(InitBuf[i]=='\0'){
    976976                    compiler.errorMessenger.Output(41,0,cp);
     
    13371337    }
    13381338
    1339     BOOST_FOREACH( const Variable *pVar, compiler.GetObjectModule().meta.GetGlobalVars() ){
     1339    foreach( const Variable *pVar, compiler.GetObjectModule().meta.GetGlobalVars() ){
    13401340        if( pVar->GetType().IsObject() || pVar->GetType().IsPointer() || pVar->GetType().IsStruct() ){
    13411341            // オブジェクトまたはポインタだったとき
  • trunk/ab5.0/abdev/compiler_x64/MakePeHdr.cpp

    r749 r768  
    115115    ActiveBasic::Common::Lexical::ResolveErrors resolveErrors;
    116116    compiler.GetObjectModule().Resolve( resolveErrors );
    117     BOOST_FOREACH( const ResolveError &resolveError, resolveErrors )
     117    foreach( const ResolveError &resolveError, resolveErrors )
    118118    {
    119119        compiler.errorMessenger.Output( ErrorInfo( 13, resolveError.GetTargetItemName(), -1 ) );
     
    520520    // 使用するDLL関数のチェック
    521521    ////////////////////////////////
    522     BOOST_FOREACH( const Schedule &schedule, compiler.linker.GetNativeCode().GetSchedules() )
     522    foreach( const Schedule &schedule, compiler.linker.GetNativeCode().GetSchedules() )
    523523    {
    524524        if( schedule.GetType() == Schedule::DllProc )
     
    831831    //グローバル変数情報を扱う構造体も初期バッファの有無による配置を行う
    832832    //(デバッグ情報で利用される)
    833     BOOST_FOREACH( Variable *pVar, compiler.GetObjectModule().meta.GetGlobalVars() ){
     833    foreach( Variable *pVar, compiler.GetObjectModule().meta.GetGlobalVars() ){
    834834        if(pVar->GetOffsetAddress()&0x80000000){
    835835            pVar->SetOffsetAddress(
Note: See TracChangeset for help on using the changeset viewer.