Changeset 183 in dev for trunk/abdev/BasicCompiler32/Compile_Set_Var.cpp
- Timestamp:
- Jun 24, 2007, 6:50:40 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler32/Compile_Set_Var.cpp
r121 r183 1 #include <jenga/include/smoothie/Smoothie.h> 2 1 3 #include "../BasicCompiler_Common/common.h" 2 4 #include "Opcode.h" … … 213 215 } 214 216 void ExtendTypeTo32(int type,int reg){ 215 if(type==DEF_INTEGER || ( isUnicode&&type==DEF_CHAR)){217 if(type==DEF_INTEGER || (Smoothie::IsUnicode()&&type==DEF_CHAR)){ 216 218 //movsx reg32,reg16 217 219 op_movsx_R32R16(reg,reg); … … 221 223 op_and_RV(reg,(int)0x0000FFFF); 222 224 } 223 else if(type==DEF_SBYTE || ( isUnicode==false&&type==DEF_CHAR)){225 else if(type==DEF_SBYTE || (Smoothie::IsUnicode()==false&&type==DEF_CHAR)){ 224 226 //movsx reg32,reg8 225 227 op_movsx_R32R8(reg,reg); … … 231 233 } 232 234 void ExtendTypeTo16(int type,int reg){ 233 if(type==DEF_SBYTE || ( isUnicode==false&&type==DEF_CHAR)){235 if(type==DEF_SBYTE || (Smoothie::IsUnicode()==false&&type==DEF_CHAR)){ 234 236 //movsx reg16,reg8 235 237 op_movsx_R16R8(reg,reg);
Note:
See TracChangeset
for help on using the changeset viewer.