Changeset 50 in dev for BasicCompiler64/Compile_Statement.cpp
- Timestamp:
- Feb 10, 2007, 5:44:58 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler64/Compile_Statement.cpp
r48 r50 725 725 pobj_c=(CClass *)lpIndex; 726 726 727 SUBINFO **ppsi; 728 int num; 729 ppsi=pobj_c->GetOperatorSubInfo(CALC_EQUAL,num); 730 if(num==0){ 731 HeapDefaultFree(ppsi); 732 727 std::vector<SUBINFO *> subs; 728 pobj_c->EnumMethod( CALC_EQUAL, subs ); 729 if( subs.size() == 0 ){ 733 730 return; 734 731 } … … 746 743 //オーバーロードを解決 747 744 SUBINFO *psi; 748 psi=OverloadSolution("==",ppsi,num,ppi,iParmNum,NULL); 749 HeapDefaultFree(ppsi); 745 psi=OverloadSolution("==",subs,ppi,iParmNum,NULL); 750 746 HeapDefaultFree(ppi); 751 747
Note:
See TracChangeset
for help on using the changeset viewer.