Changeset 50 in dev for BasicCompiler32/Compile_Statement.cpp
- Timestamp:
- Feb 10, 2007, 5:44:58 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/Compile_Statement.cpp
r40 r50 1095 1095 pobj_c=(CClass *)lpIndex; 1096 1096 1097 SUBINFO **ppsi; 1098 int num; 1099 ppsi=pobj_c->GetOperatorSubInfo(CALC_EQUAL,num); 1100 if(num==0){ 1101 HeapDefaultFree(ppsi); 1102 1097 std::vector<SUBINFO *> subs; 1098 pobj_c->EnumMethod( CALC_EQUAL, subs ); 1099 if( subs.size() == 0 ){ 1103 1100 return; 1104 1101 } … … 1116 1113 //オーバーロードを解決 1117 1114 SUBINFO *psi; 1118 psi=OverloadSolution("==",ppsi,num,ppi,iParmNum,NULL); 1119 HeapDefaultFree(ppsi); 1115 psi=OverloadSolution("==",subs,ppi,iParmNum,NULL); 1120 1116 HeapDefaultFree(ppi); 1121 1117
Note:
See TracChangeset
for help on using the changeset viewer.