Changeset 461 in dev for trunk/ab5.0/abdev/BasicCompiler32/NumOpe.cpp
- Timestamp:
- Mar 23, 2008, 11:35:33 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler32/NumOpe.cpp
r436 r461 1 1 #include "stdafx.h" 2 3 #include <jenga/include/smoothie/Smoothie.h>4 2 5 3 #include <Compiler.h> … … 41 39 compiler.codeGenerator.op_push(REG_EAX); 42 40 } 43 else if(type==DEF_INTEGER || ( Smoothie::IsUnicode()&&type==DEF_CHAR)){41 else if(type==DEF_INTEGER || (compiler.IsUnicode()&&type==DEF_CHAR)){ 44 42 //movsx ebx,ax 45 43 compiler.codeGenerator.op_movsx_R32R16( REG_EBX, REG_EAX ); … … 48 46 compiler.codeGenerator.op_push(REG_EBX); 49 47 } 50 else if(type==DEF_SBYTE || ( Smoothie::IsUnicode()==false&&type==DEF_CHAR)){48 else if(type==DEF_SBYTE || (compiler.IsUnicode()==false&&type==DEF_CHAR)){ 51 49 //movsx ebx,al 52 50 compiler.codeGenerator.op_movsx_R32R8( REG_EBX, REG_EAX );
Note:
See TracChangeset
for help on using the changeset viewer.