Changeset 745 in dev for trunk/ab5.0/abdev/compiler_x86/Compile_Var.cpp
- Timestamp:
- Sep 10, 2008, 1:53:07 AM (16 years ago)
- File:
-
- 1 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
Note:
See TracChangeset
for help on using the changeset viewer.