Changeset 820 in dev for branches/egtra/ab5.0/abdev/BasicCompiler_Common/Diagnose.cpp
- Timestamp:
- Aug 7, 2011, 4:30:08 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/egtra/ab5.0/abdev/BasicCompiler_Common/Diagnose.cpp
r803 r820 78 78 // 静的メソッド 79 79 foreach( const CMethod *pMethod, objClass.GetStaticMethods() ){ 80 80 codeSizeOfClass += pMethod->GetUserProc().GetCodeSize(); 81 81 } 82 82 … … 110 110 // 静的メソッド 111 111 foreach( const CMethod *pMethod, objClass.GetStaticMethods() ){ 112 112 codeSizeOfClass += pMethod->GetUserProc().GetCodeSize(); 113 113 } 114 114 115 if( codeSizeOfClass ){ 116 temporary[0]=0; 117 lstrcat( temporary, "------------------------------------------------------------------\n" ); 118 sprintf( temporary + lstrlen(temporary), "【 %s クラスのコード情報】\n", objClass.GetName().c_str() ); 119 sprintf( temporary + lstrlen(temporary), "class code size: %d bytes\n", codeSizeOfClass ); 120 lstrcat( temporary, "------------------------------------------------------------------\n" ); 121 lstrcat( temporary, "\n" ); 115 if( codeSizeOfClass ) 116 { 117 sprintf(temporary, 118 "------------------------------------------------------------------\n" 119 "【 %s クラスのコード情報】\n" 120 "class code size: %d bytes\n" 121 "------------------------------------------------------------------\n" 122 "\n", 123 objClass.GetName().c_str(), codeSizeOfClass); 122 124 trace_for_size( temporary ); 123 125 }
Note:
See TracChangeset
for help on using the changeset viewer.