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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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);
Note: See TracChangeset for help on using the changeset viewer.