- Timestamp:
- Aug 12, 2007, 3:57:57 AM (17 years ago)
- Location:
- trunk/abdev
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler32/Compile_ProcOp.cpp
r276 r278 238 238 char temporary[VN_SIZE]; 239 239 240 if( pUserProc->IsUsing() == false || pUserProc->IsCompiled() ) return;241 242 240 if( pUserProc->GetLocalVars().size() ){ 243 241 SetError(); … … 262 260 else bDebugSupportProc=0; 263 261 264 if( pUserProc->GetCodeSize() != 0 )262 if( pUserProc->GetCodeSize() != 0 || pUserProc->GetNativeCode().GetSize() != 0 ) 265 263 { 266 264 // 既にコード生成が行われている場合はエラー -
trunk/abdev/BasicCompiler32/MakePeHdr.cpp
r277 r278 422 422 if(bDebugCompile){ 423 423 //デバッグ用の変数を定義 424 DebugVariable(); 424 // TODO: 暫定処理なので下のif文は正しくない 425 //if( compiler.IsStaticLibrary() ) 426 { 427 DebugVariable(); 428 } 425 429 } 426 430 … … 517 521 trace( "コード生成が終了しました。" ); 518 522 519 compiler.linker.Link( compiler.GetObjectModule() );520 521 oldSourceLines = compiler.linker.GetNativeCode().GetSourceLines();522 523 523 524 524 if( compiler.IsStaticLibrary() ) … … 532 532 return; 533 533 } 534 535 536 compiler.linker.Link( compiler.GetObjectModule() ); 537 538 oldSourceLines = compiler.linker.GetNativeCode().GetSourceLines(); 539 534 540 /* 535 541 int t,t2; -
trunk/abdev/BasicCompiler_Common/include/NativeCode.h
r276 r278 47 47 case UserProc: 48 48 case AddressOf: 49 ar & BOOST_SERIALIZATION_NVP( const_cast<::UserProc *&>(pUserProc));49 ar & boost::serialization::make_nvp("pUserProc", const_cast<::UserProc *&>(pUserProc)); 50 50 break; 51 51 case DllProc: 52 ar & BOOST_SERIALIZATION_NVP( const_cast<::DllProc *&>(pDllProc));52 ar & boost::serialization::make_nvp("pDllProc", const_cast<::DllProc *&>(pDllProc)); 53 53 break; 54 54 default:
Note:
See TracChangeset
for help on using the changeset viewer.