Changeset 589 in dev for trunk/ab5.0/abdev/compiler_x86


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

DataTableGeneratorクラスを追加。

Location:
trunk/ab5.0/abdev/compiler_x86
Files:
3 edited

Legend:

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

    r587 r589  
    718718
    719719        int dataTableOffset;
    720         if( !compiler.GetObjectModule().dataTable.MakeLiteralArrayBuffer( expression, baseType, dataTableOffset ) )
     720        if( !ActiveBasic::Compiler::DataTableGenerator::MakeLiteralArrayBuffer( compiler.GetObjectModule().dataTable, expression, baseType, dataTableOffset ) )
    721721        {
    722722            return false;
     
    798798            // 静的領域にオブジェクトを生成
    799799            int dataTableOffset;
    800             if( !compiler.GetObjectModule().dataTable.MakeConstObjectToProcessStaticBuffer( expression + 2, resultType, dataTableOffset ) )
     800            if( !ActiveBasic::Compiler::DataTableGenerator::MakeConstObjectToProcessStaticBuffer( compiler.GetObjectModule().dataTable, expression + 2, resultType, dataTableOffset ) )
    801801            {
    802802                return false;
     
    941941
    942942                        //String型オブジェクトを生成
    943                         i2 = compiler.GetObjectModule().dataTable.MakeConstStringObjectToProcessStaticBuffer( term );
    944                        
     943                        i2 = ActiveBasic::Compiler::DataTableGenerator::MakeConstStringObjectToProcessStaticBuffer( compiler.GetObjectModule().dataTable, term );
     944
    945945                        // push value
    946946                        compiler.codeGenerator.op_push_V( i2, Schedule::DataTable );
  • trunk/ab5.0/abdev/compiler_x86/compiler_x86.vcproj

    r565 r589  
    12531253                </File>
    12541254                <File
     1255                    RelativePath="..\BasicCompiler_Common\src\DataTableGenerator.cpp"
     1256                    >
     1257                </File>
     1258                <File
    12551259                    RelativePath="..\BasicCompiler_Common\src\LexicalAnalyzer.cpp"
    12561260                    >
     
    14781482                </File>
    14791483                <File
     1484                    RelativePath="..\BasicCompiler_Common\include\DataTableGenerator.h"
     1485                    >
     1486                </File>
     1487                <File
    14801488                    RelativePath="..\BasicCompiler_Common\include\LexicalAnalyzer.h"
    14811489                    >
  • trunk/ab5.0/abdev/compiler_x86/stdafx.h

    r565 r589  
    7373#include <VtblGenerator.h>
    7474#include <ProcedureGenerator.h>
     75#include <DataTableGenerator.h>
Note: See TracChangeset for help on using the changeset viewer.