Changeset 76 in dev for BasicCompiler64/Compile_ProcOp.cpp


Ignore:
Timestamp:
Mar 21, 2007, 9:26:56 PM (17 years ago)
Author:
dai_9181
Message:

TYPEINFO→Typeへのリファクタリングを実施。32bitが未完成。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler64/Compile_ProcOp.cpp

    r75 r76  
    201201    extern UserProc **ppSubHash;
    202202    extern BOOL bDebugCompile;
    203     int i3,i4,BufferSize;
     203    int i3,i4;
    204204    char temporary[VN_SIZE];
    205205
    206     BufferSize=128;
    207 
    208206    if( pUserProc->IsUsing() == false || pUserProc->IsCompiled() ) return;
     207
     208    if( pUserProc->localVars.size() ){
     209        SetError();
     210        return;
     211    }
    209212
    210213    pUserProc->CompleteCompile();
     
    217220    if(memcmp(pUserProc->GetName().c_str(),"_DebugSys_",10)==0){
    218221        if(!bDebugCompile){
    219             pUserProc->localVars.clear();
    220222            return;
    221223        }
     
    231233        ////////////////////
    232234
    233         extern int MaxLocalVarNum;
    234235        extern int AllLocalVarSize;
    235         MaxLocalVarNum=0;
    236236        AllLocalVarSize=0;
    237237
     
    247247
    248248        pUserProc->endOpAddress=obp;
    249         pUserProc->localVars.clear();
    250249        return;
    251250    }
     
    294293    extern int AllLocalVarSize;
    295294    AllLocalVarSize=0;
    296     pUserProc->localVars.clear();
    297295
    298296    //ローカル変数アドレススケジュール
Note: See TracChangeset for help on using the changeset viewer.