Changeset 50 in dev for BasicCompiler64/Compile_Func.cpp
- Timestamp:
- Feb 10, 2007, 5:44:58 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler64/Compile_Func.cpp
r46 r50 101 101 //左辺の型にのっとり、オーバーロードを解決 102 102 103 SUBINFO **ppsi; 104 int num; 105 ppsi=GetOverloadSubHash( name, &num ); 106 if(!num){ 107 HeapDefaultFree(ppsi); 108 103 std::vector<SUBINFO *> subs; 104 GetOverloadSubHash( name, subs ); 105 if( subs.size() == 0 ){ 109 106 SetError(27,name,cp); 110 107 return; … … 113 110 //オーバーロードを解決 114 111 extern PROCPTRINFO *pProcPtrInfo; 115 psi=OverloadSolution(name,ppsi,num,pProcPtrInfo[ProcPtr_BaseIndex].pParmInfo,pProcPtrInfo[ProcPtr_BaseIndex].ParmNum,NULL); 116 HeapDefaultFree(ppsi); 112 psi=OverloadSolution(name,subs,pProcPtrInfo[ProcPtr_BaseIndex].pParmInfo,pProcPtrInfo[ProcPtr_BaseIndex].ParmNum,NULL); 117 113 118 114 if(!psi){
Note:
See TracChangeset
for help on using the changeset viewer.