Changeset 135 in dev for BasicCompiler_Common/Diagnose.cpp
- Timestamp:
- Jun 6, 2007, 12:58:40 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/Diagnose.cpp
r131 r135 77 77 78 78 // 動的メソッド 79 foreach( const CMethod &method, objClass.GetMethods() ){80 if( method.pUserProc->IsCompiled() ){81 codeSizeOfClass += method.pUserProc->GetCodeSize();79 foreach( const CMethod *pMethod, objClass.GetMethods() ){ 80 if( pMethod->pUserProc->IsCompiled() ){ 81 codeSizeOfClass += pMethod->pUserProc->GetCodeSize(); 82 82 } 83 83 } 84 84 85 85 // 静的メソッド 86 foreach( const CMethod &method, objClass.GetStaticMethods() ){87 codeSizeOfClass += method.pUserProc->GetCodeSize();86 foreach( const CMethod *pMethod, objClass.GetStaticMethods() ){ 87 codeSizeOfClass += pMethod->pUserProc->GetCodeSize(); 88 88 } 89 89 … … 112 112 113 113 // 動的メソッド 114 foreach( const CMethod &method, objClass.GetMethods() ){115 if( method.pUserProc->IsCompiled() ){116 codeSizeOfClass += method.pUserProc->GetCodeSize();114 foreach( const CMethod *pMethod, objClass.GetMethods() ){ 115 if( pMethod->pUserProc->IsCompiled() ){ 116 codeSizeOfClass += pMethod->pUserProc->GetCodeSize(); 117 117 } 118 118 } 119 119 120 120 // 静的メソッド 121 foreach( const CMethod &method, objClass.GetStaticMethods() ){122 codeSizeOfClass += method.pUserProc->GetCodeSize();121 foreach( const CMethod *pMethod, objClass.GetStaticMethods() ){ 122 codeSizeOfClass += pMethod->pUserProc->GetCodeSize(); 123 123 } 124 124
Note:
See TracChangeset
for help on using the changeset viewer.