Changeset 745 in dev for trunk/ab5.0/abdev/compiler_x86
- Timestamp:
- Sep 10, 2008, 1:53:07 AM (16 years ago)
- Location:
- trunk/ab5.0/abdev/compiler_x86
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/compiler_x86/Compile_Var.cpp
r677 r745 873 873 char *temp; 874 874 temp=(char *)i64data; 875 if( compiler.IsUnicode() ) 876 { 877 i2 = compiler.GetObjectModule().dataTable.AddWString( Jenga::Common::ToWString( temp ) ); 878 } 879 else 880 { 881 i2 = compiler.GetObjectModule().dataTable.AddString( temp ); 882 } 875 i2 = compiler.AddStringToDataTable( temp ); 883 876 HeapDefaultFree(temp); 884 877 … … 1069 1062 char *temp; 1070 1063 temp=(char *)i64data; 1071 if( compiler.IsUnicode() ) 1072 { 1073 i2 = compiler.GetObjectModule().dataTable.AddWString( Jenga::Common::ToWString( temp ) ); 1074 } 1075 else 1076 { 1077 i2 = compiler.GetObjectModule().dataTable.AddString( temp ); 1078 } 1064 i2 = compiler.AddStringToDataTable( temp ); 1079 1065 HeapDefaultFree(temp); 1080 1066 -
trunk/ab5.0/abdev/compiler_x86/NumOpe.cpp
r701 r745 963 963 bLiteralCalculation=0; 964 964 965 if( compiler.IsUnicode() ) 966 { 967 i2 = compiler.GetObjectModule().dataTable.AddWString( Jenga::Common::ToWString( std::string( term, i3 ) ) ); 968 } 969 else 970 { 971 i2 = compiler.GetObjectModule().dataTable.AddString( std::string( term, i3 ) ); 972 } 965 i2 = compiler.AddStringToDataTable( std::string( term, i3 ) ); 973 966 974 967 //push DataSize
Note:
See TracChangeset
for help on using the changeset viewer.