Changeset 56 in dev for BasicCompiler64/NumOpe.cpp
- Timestamp:
- Feb 15, 2007, 3:39:40 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler64/NumOpe.cpp
r51 r56 37 37 op_call(pobj_StringClass->GetConstructorMethod()->psi); 38 38 39 int i2;40 i 2=AddDataTable(lpszText,lstrlen(lpszText));39 // TODO: Ex表記による文字列長に対応する 40 int i2 = dataTable.AddString( lpszText ); 41 41 42 42 //mov rax,i2 … … 269 269 bLiteralCalculation=0; 270 270 271 i2 =AddDataTable(term,i3);271 i2 = dataTable.AddString( term, i3 ); 272 272 273 273 //mov reg,i2 … … 622 622 } 623 623 else{ 624 i3 =AddDataTable((char *)&i64data,sizeof(_int64));624 i3 = dataTable.Add( i64data ); 625 625 626 626 //movlpd xmm_reg,qword ptr[data table offset] … … 650 650 } 651 651 else{ 652 i3= AddDataTable((char *)&i32data,sizeof(long));652 i3=dataTable.Add( i32data ); 653 653 654 654 //movss xmm_reg,dword ptr[data table offset] … … 789 789 790 790 if(i2==DEF_DOUBLE){ 791 i3 =AddDataTable((char *)&i64data,sizeof(_int64));791 i3 = dataTable.Add( i64data ); 792 792 793 793 //movlpd xmm_reg,qword ptr[data table offset] … … 809 809 memcpy(&i32data,&flt,sizeof(long)); 810 810 811 i3 =AddDataTable((char *)&i32data,sizeof(long));811 i3 = dataTable.Add( i32data ); 812 812 813 813 //movss xmm_reg,dword ptr[data table offset]
Note:
See TracChangeset
for help on using the changeset viewer.