Ignore:
Timestamp:
Jul 13, 2008, 2:23:09 AM (16 years ago)
Author:
dai_9181
Message:

・WithInfo周りをリファクタリング。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/compiler_x86/Compile_ProcOp.cpp

    r677 r684  
    433433    compiler.codeGenerator.gotoLabelSchedules.clear();
    434434
    435     //With情報のメモリを確保
    436     extern WITHINFO WithInfo;
    437     WithInfo.ppName=(char **)HeapAlloc(hHeap,0,1);
    438     WithInfo.pWithCp=(int *)HeapAlloc(hHeap,0,1);
    439     WithInfo.num=0;
     435    //With情報を初期化
     436    extern WithInfos withInfos;
     437    withInfos.clear();
    440438
    441439    // 重複エラー情報をクリア
     
    590588    }
    591589
    592     //With情報のメモリを解放
    593     for(i3=0;i3<WithInfo.num;i3++){
    594         compiler.errorMessenger.Output(22,"With",WithInfo.pWithCp[i3]);
    595         HeapDefaultFree(WithInfo.ppName[i3]);
    596     }
    597     HeapDefaultFree(WithInfo.ppName);
    598     HeapDefaultFree(WithInfo.pWithCp);
    599 
    600590    //push ebp
    601591    AllLocalVarSize+=sizeof(long);
Note: See TracChangeset for help on using the changeset viewer.