- Timestamp:
- May 10, 2008, 6:18:51 PM (17 years ago)
- Location:
- trunk/ab5.0/abdev/compiler_x64
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/compiler_x64/Compile_Var.cpp
r587 r592 884 884 char *temp; 885 885 temp=(char *)i64data; 886 i2=compiler.GetObjectModule().dataTable.AddString( temp ); 886 if( compiler.IsUnicode() ) 887 { 888 i2 = compiler.GetObjectModule().dataTable.AddWString( Jenga::Common::ToWString( temp ) ); 889 } 890 else 891 { 892 i2 = compiler.GetObjectModule().dataTable.AddString( temp ); 893 } 887 894 HeapDefaultFree(temp); 888 895 … … 1053 1060 char *temp; 1054 1061 temp=(char *)i64data; 1055 i2=compiler.GetObjectModule().dataTable.AddString( temp ); 1062 if( compiler.IsUnicode() ) 1063 { 1064 i2 = compiler.GetObjectModule().dataTable.AddWString( Jenga::Common::ToWString( temp ) ); 1065 } 1066 else 1067 { 1068 i2 = compiler.GetObjectModule().dataTable.AddString( temp ); 1069 } 1056 1070 HeapDefaultFree(temp); 1057 1071 -
trunk/ab5.0/abdev/compiler_x64/NumOpe.cpp
r589 r592 1041 1041 bLiteralCalculation=0; 1042 1042 1043 i2 = compiler.GetObjectModule().dataTable.AddString( term, i3 ); 1043 if( compiler.IsUnicode() ) 1044 { 1045 i2 = compiler.GetObjectModule().dataTable.AddWString( Jenga::Common::ToWString( std::string( term, i3 ) ) ); 1046 } 1047 else 1048 { 1049 i2 = compiler.GetObjectModule().dataTable.AddString( std::string( term, i3 ) ); 1050 } 1044 1051 1045 1052 //mov reg,i2
Note:
See TracChangeset
for help on using the changeset viewer.