Changeset 746 in dev
- Timestamp:
- Sep 10, 2008, 2:35:49 AM (16 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
r677 r746 883 883 char *temp; 884 884 temp=(char *)i64data; 885 if( compiler.IsUnicode() ) 886 { 887 i2 = compiler.GetObjectModule().dataTable.AddWString( Jenga::Common::ToWString( temp ) ); 888 } 889 else 890 { 891 i2 = compiler.GetObjectModule().dataTable.AddString( temp ); 892 } 885 i2 = compiler.AddStringToDataTable( temp ); 893 886 HeapDefaultFree(temp); 894 887 … … 1059 1052 char *temp; 1060 1053 temp=(char *)i64data; 1061 if( compiler.IsUnicode() ) 1062 { 1063 i2 = compiler.GetObjectModule().dataTable.AddWString( Jenga::Common::ToWString( temp ) ); 1064 } 1065 else 1066 { 1067 i2 = compiler.GetObjectModule().dataTable.AddString( temp ); 1068 } 1054 i2 = compiler.AddStringToDataTable( temp ); 1069 1055 HeapDefaultFree(temp); 1070 1056 -
trunk/ab5.0/abdev/compiler_x64/NumOpe.cpp
r676 r746 1044 1044 bLiteralCalculation=0; 1045 1045 1046 if( compiler.IsUnicode() ) 1047 { 1048 i2 = compiler.GetObjectModule().dataTable.AddWString( Jenga::Common::ToWString( std::string( term, i3 ) ) ); 1049 } 1050 else 1051 { 1052 i2 = compiler.GetObjectModule().dataTable.AddString( std::string( term, i3 ) ); 1053 } 1046 i2 = compiler.AddStringToDataTable( std::string( term, i3 ) ); 1054 1047 1055 1048 //mov reg,i2
Note:
See TracChangeset
for help on using the changeset viewer.