Changeset 461 in dev for trunk/ab5.0/abdev/BasicCompiler32


Ignore:
Timestamp:
Mar 23, 2008, 11:35:33 AM (16 years ago)
Author:
dai_9181
Message:

smoothieプロジェクトが不要になったため、破棄。

Location:
trunk/ab5.0/abdev/BasicCompiler32
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler32/BasicCompiler.vcproj

    r455 r461  
    7676            <Tool
    7777                Name="VCLinkerTool"
    78                 AdditionalDependencies="comctl32.lib psapi.lib commond.lib smoothied.lib imagehlp.lib shlwapi.lib"
     78                AdditionalDependencies="comctl32.lib psapi.lib commond.lib imagehlp.lib shlwapi.lib"
    7979                OutputFile="../ActiveBasic/BasicCompiler32.exe"
    8080                LinkIncremental="2"
     
    180180            <Tool
    181181                Name="VCLinkerTool"
    182                 AdditionalDependencies="comctl32.lib psapi.lib common.lib smoothie.lib imagehlp.lib shlwapi.lib"
     182                AdditionalDependencies="comctl32.lib psapi.lib common.lib imagehlp.lib shlwapi.lib"
    183183                OutputFile="../ActiveBasic/BasicCompiler32.exe"
    184184                LinkIncremental="1"
     
    13541354                    </File>
    13551355                    <File
    1356                         RelativePath="..\BasicCompiler_Common\src\SmoothieImpl.cpp"
    1357                         >
    1358                     </File>
    1359                     <File
    13601356                        RelativePath="..\BasicCompiler_Common\src\Source.cpp"
    13611357                        >
     
    13891385            </File>
    13901386            <File
     1387                RelativePath="..\BasicCompiler_Common\BasicFixed.h"
     1388                >
     1389            </File>
     1390            <File
    13911391                RelativePath="CommandValue.h"
    13921392                >
     
    15401540                    <File
    15411541                        RelativePath="..\BasicCompiler_Common\include\Prototype.h"
    1542                         >
    1543                     </File>
    1544                     <File
    1545                         RelativePath="..\BasicCompiler_Common\include\SmoothieImpl.h"
    15461542                        >
    15471543                    </File>
  • trunk/ab5.0/abdev/BasicCompiler32/Compile_Calc.cpp

    r436 r461  
    11#include "stdafx.h"
    2 
    3 #include <jenga/include/smoothie/Smoothie.h>
    42
    53#include <Compiler.h>
     
    8280            //符号あり
    8381
    84             if(OldType==DEF_INTEGER || (Smoothie::IsUnicode()&&OldType==DEF_CHAR)){
     82            if(OldType==DEF_INTEGER || (compiler.IsUnicode()&&OldType==DEF_CHAR)){
    8583                //pop eax
    8684                compiler.codeGenerator.op_pop(REG_EAX);
     
    9290                compiler.codeGenerator.op_push(REG_EAX);
    9391            }
    94             else if(OldType==DEF_SBYTE || (Smoothie::IsUnicode()==false&&OldType==DEF_CHAR)){
     92            else if(OldType==DEF_SBYTE || (compiler.IsUnicode()==false&&OldType==DEF_CHAR)){
    9593                //pop eax
    9694                compiler.codeGenerator.op_pop(REG_EAX);
     
    166164            //符号あり
    167165
    168             if(OldType==DEF_INTEGER || (Smoothie::IsUnicode()&&OldType==DEF_CHAR)){
     166            if(OldType==DEF_INTEGER || (compiler.IsUnicode()&&OldType==DEF_CHAR)){
    169167                //pop eax
    170168                compiler.codeGenerator.op_pop(REG_EAX);
     
    176174                compiler.codeGenerator.op_push(REG_EAX);
    177175            }
    178             else if(OldType==DEF_SBYTE || (Smoothie::IsUnicode()==false&&OldType==DEF_CHAR)){
     176            else if(OldType==DEF_SBYTE || (compiler.IsUnicode()==false&&OldType==DEF_CHAR)){
    179177                //pop eax
    180178                compiler.codeGenerator.op_pop(REG_EAX);
     
    294292    if(OldType==DEF_BOOLEAN||
    295293        OldType==DEF_BYTE||
    296         OldType==DEF_WORD||OldType==DEF_INTEGER || (Smoothie::IsUnicode()&&OldType==DEF_CHAR)) return;
    297     else if(OldType==DEF_SBYTE || (Smoothie::IsUnicode()==false&&OldType==DEF_CHAR)){
     294        OldType==DEF_WORD||OldType==DEF_INTEGER || (compiler.IsUnicode()&&OldType==DEF_CHAR)) return;
     295    else if(OldType==DEF_SBYTE || (compiler.IsUnicode()==false&&OldType==DEF_CHAR)){
    298296        //pop eax
    299297        compiler.codeGenerator.op_pop(REG_EAX);
     
    320318void ChangeTypeToByte(int OldType){
    321319    //現在のスタックの内容をbyte型に変換する
    322     if(OldType==DEF_BYTE||OldType==DEF_SBYTE || (Smoothie::IsUnicode()==false&&OldType==DEF_CHAR)) return;
     320    if(OldType==DEF_BYTE||OldType==DEF_SBYTE || (compiler.IsUnicode()==false&&OldType==DEF_CHAR)) return;
    323321
    324322    ChangeTypeToLong(OldType);
  • trunk/ab5.0/abdev/BasicCompiler32/Compile_CallProc.cpp

    r459 r461  
    11#include "stdafx.h"
    2 
    3 #include <jenga/include/smoothie/Smoothie.h>
    42
    53#include <Compiler.h>
  • trunk/ab5.0/abdev/BasicCompiler32/Compile_Func.cpp

    r449 r461  
    11#include "stdafx.h"
    2 
    3 #include <jenga/include/smoothie/Smoothie.h>
    42
    53#include <Compiler.h>
  • trunk/ab5.0/abdev/BasicCompiler32/Compile_ProcOp.cpp

    r459 r461  
    11#include "stdafx.h"
    2 
    3 #include <jenga/include/smoothie/Smoothie.h>
    42
    53#include <Program.h>
  • trunk/ab5.0/abdev/BasicCompiler32/Compile_Set_Var.cpp

    r290 r461  
    11#include "stdafx.h"
    2 
    3 #include <jenga/include/smoothie/Smoothie.h>
    42
    53#include <Compiler.h>
     
    212210}
    213211void ExtendTypeTo32(int type,int reg){
    214     if(type==DEF_INTEGER || (Smoothie::IsUnicode()&&type==DEF_CHAR)){
     212    if(type==DEF_INTEGER || (compiler.IsUnicode()&&type==DEF_CHAR)){
    215213        //movsx reg32,reg16
    216214        compiler.codeGenerator.op_movsx_R32R16(reg,reg);
     
    220218        compiler.codeGenerator.op_and_RV(reg,(int)0x0000FFFF);
    221219    }
    222     else if(type==DEF_SBYTE || (Smoothie::IsUnicode()==false&&type==DEF_CHAR)){
     220    else if(type==DEF_SBYTE || (compiler.IsUnicode()==false&&type==DEF_CHAR)){
    223221        //movsx reg32,reg8
    224222        compiler.codeGenerator.op_movsx_R32R8(reg,reg);
     
    230228}
    231229void ExtendTypeTo16(int type,int reg){
    232     if(type==DEF_SBYTE || (Smoothie::IsUnicode()==false&&type==DEF_CHAR)){
     230    if(type==DEF_SBYTE || (compiler.IsUnicode()==false&&type==DEF_CHAR)){
    233231        //movsx reg16,reg8
    234232        compiler.codeGenerator.op_movsx_R16R8(reg,reg);
  • trunk/ab5.0/abdev/BasicCompiler32/Compile_Var.cpp

    r453 r461  
    11#include "stdafx.h"
    2 
    3 #include <jenga/include/smoothie/Smoothie.h>
    42
    53#include <LexicalScope.h>
  • trunk/ab5.0/abdev/BasicCompiler32/NumOpe.cpp

    r436 r461  
    11#include "stdafx.h"
    2 
    3 #include <jenga/include/smoothie/Smoothie.h>
    42
    53#include <Compiler.h>
     
    4139        compiler.codeGenerator.op_push(REG_EAX);
    4240    }
    43     else if(type==DEF_INTEGER || (Smoothie::IsUnicode()&&type==DEF_CHAR)){
     41    else if(type==DEF_INTEGER || (compiler.IsUnicode()&&type==DEF_CHAR)){
    4442        //movsx ebx,ax
    4543        compiler.codeGenerator.op_movsx_R32R16( REG_EBX, REG_EAX );
     
    4846        compiler.codeGenerator.op_push(REG_EBX);
    4947    }
    50     else if(type==DEF_SBYTE || (Smoothie::IsUnicode()==false&&type==DEF_CHAR)){
     48    else if(type==DEF_SBYTE || (compiler.IsUnicode()==false&&type==DEF_CHAR)){
    5149        //movsx ebx,al
    5250        compiler.codeGenerator.op_movsx_R32R8( REG_EBX, REG_EAX );
  • trunk/ab5.0/abdev/BasicCompiler32/NumOpe_TypeOperation.cpp

    r290 r461  
    11#include "stdafx.h"
    2 
    3 #include <jenga/include/smoothie/Smoothie.h>
    42
    53#include <Compiler.h>
  • trunk/ab5.0/abdev/BasicCompiler32/stdafx.h

    r457 r461  
    2424
    2525#include "../BasicCompiler_Common/common.h"
     26#include "../BasicCompiler_Common/BasicFixed.h"
    2627
    2728#include <Hashmap.h>
Note: See TracChangeset for help on using the changeset viewer.