Changeset 96 in dev for BasicCompiler64


Ignore:
Timestamp:
Apr 15, 2007, 2:48:08 AM (17 years ago)
Author:
dai_9181
Message:

不要なソースコード(TODO: 消す)を削除

Location:
BasicCompiler64
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler64/Compile_Set_Var.cpp

    r75 r96  
    3636    }
    3737
    38 /*
    39     TODO: 消す
    40     ///////////////////////////////////////////////////////////////////
    41     // オペレータ '=' のオーバーロード関数を呼ぶ
    42     ///////////////////////////////////////////////////////////////////
    43 
    44     int type[10];
    45     LONG_PTR index_stack[10];
    46     BOOL array_bUseHeap[10];
    47     int sp=2;
    48 
    49     //左辺
    50     type[0]=DEF_OBJECT;
    51     index_stack[0]=lpVarIndex;
    52     array_bUseHeap[0]=0;
    53 
    54     //右辺
    55     type[1]=CalcType;
    56     index_stack[1]=lpCalcIndex;
    57     array_bUseHeap[1]=bUseHeap;
    58 
    59 
    60     int iRet;
    61     iRet=CallOperatorProc(CALC_SUBSITUATION,NULL,type,index_stack,array_bUseHeap,sp);
    62 */
    6338    //右辺用レジスタを解除
    6439    if( calcType.IsReal() ) pobj_reg->UnlockXmmReg();
  • BasicCompiler64/Compile_Var.cpp

    r95 r96  
    12061206        SetVariableFromRax( DEF_OBJECT, DEF_OBJECT, &RelativeVar );
    12071207    }
    1208 
    1209     /*
    1210     TODO: 消す
    1211     変数は抽象クラスでもOK
    1212     if( type.IsObject() ){
    1213         if( type.GetClass().IsAbstract() ){
    1214             //抽象クラスだったとき
    1215             SetError(125,type.GetClass().name,cp);
    1216         }
    1217     }
    1218     */
    12191208}
    12201209void SetVarPtrToReg(int reg,RELATIVE_VAR *pRelativeVar){
Note: See TracChangeset for help on using the changeset viewer.