Ignore:
Timestamp:
May 10, 2008, 3:09:26 PM (16 years ago)
Author:
dai_9181
Message:

[585][586]をリバース。NativeCodeクラスとMetaクラスは依存関係があるので分離しない方針とする。

File:
1 edited

Legend:

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

    r585 r587  
    763763
    764764        int dataTableOffset;
    765         if( !compiler.GetObjectModule().nativeSection.dataTable.MakeLiteralArrayBuffer( expression, baseType, dataTableOffset ) )
     765        if( !compiler.GetObjectModule().dataTable.MakeLiteralArrayBuffer( expression, baseType, dataTableOffset ) )
    766766        {
    767767            return false;
     
    792792
    793793                if(resultType.IsDouble()){
    794                     i3 = compiler.GetObjectModule().nativeSection.dataTable.Add( i64data );
     794                    i3 = compiler.GetObjectModule().dataTable.Add( i64data );
    795795
    796796                    //movlpd xmm_reg,qword ptr[data table offset]
     
    806806                    memcpy(&i32data,&flt,sizeof(long));
    807807
    808                     i3 = compiler.GetObjectModule().nativeSection.dataTable.Add( i32data );
     808                    i3 = compiler.GetObjectModule().dataTable.Add( i32data );
    809809
    810810                    //movss xmm_reg,dword ptr[data table offset]
     
    866866            // 静的領域にオブジェクトを生成
    867867            int dataTableOffset;
    868             if( !compiler.GetObjectModule().nativeSection.dataTable.MakeConstObjectToProcessStaticBuffer( expression + 2, resultType, dataTableOffset ) )
     868            if( !compiler.GetObjectModule().dataTable.MakeConstObjectToProcessStaticBuffer( expression + 2, resultType, dataTableOffset ) )
    869869            {
    870870                return false;
     
    10201020
    10211021                        //String型オブジェクトを生成
    1022                         i2 = compiler.GetObjectModule().nativeSection.dataTable.MakeConstStringObjectToProcessStaticBuffer( term );
     1022                        i2 = compiler.GetObjectModule().dataTable.MakeConstStringObjectToProcessStaticBuffer( term );
    10231023
    10241024                        //mov reg,i2
     
    10411041                    bLiteralCalculation=0;
    10421042
    1043                     i2 = compiler.GetObjectModule().nativeSection.dataTable.AddString( term, i3 );
     1043                    i2 = compiler.GetObjectModule().dataTable.AddString( term, i3 );
    10441044
    10451045                    //mov reg,i2
     
    12281228                        }
    12291229                        else{
    1230                             i3 = compiler.GetObjectModule().nativeSection.dataTable.Add( i64data );
     1230                            i3 = compiler.GetObjectModule().dataTable.Add( i64data );
    12311231
    12321232                            //movlpd xmm_reg,qword ptr[data table offset]
     
    12501250                        }
    12511251                        else{
    1252                             i3=compiler.GetObjectModule().nativeSection.dataTable.Add( i32data );
     1252                            i3=compiler.GetObjectModule().dataTable.Add( i32data );
    12531253
    12541254                            //movss xmm_reg,dword ptr[data table offset]
Note: See TracChangeset for help on using the changeset viewer.