Changeset 294 in dev for trunk/abdev/BasicCompiler32
- Timestamp:
- Aug 22, 2007, 11:23:28 PM (17 years ago)
- Location:
- trunk/abdev/BasicCompiler32
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler32/BasicCompiler.vcproj
r288 r294 76 76 <Tool 77 77 Name="VCLinkerTool" 78 AdditionalDependencies="comctl32.lib psapi.lib commond.lib smoothied.lib "78 AdditionalDependencies="comctl32.lib psapi.lib commond.lib smoothied.lib imagehlp.lib" 79 79 OutputFile="../ActiveBasic/BasicCompiler32.exe" 80 80 LinkIncremental="2" … … 179 179 <Tool 180 180 Name="VCLinkerTool" 181 AdditionalDependencies="comctl32.lib psapi.lib common.lib smoothie.lib "181 AdditionalDependencies="comctl32.lib psapi.lib common.lib smoothie.lib imagehlp.lib" 182 182 OutputFile="../ActiveBasic/BasicCompiler32.exe" 183 183 LinkIncremental="1" -
trunk/abdev/BasicCompiler32/Compile_CallProc.cpp
r292 r294 135 135 else{ 136 136 if(dwFlags&PROCFLAG_NEW){ 137 GetVarType( ObjectName, leftType, false ); 138 137 139 //New演算子によるコンストラクタ呼び出し 138 140 pobj_c=pUserProc->GetParentClassPtr(); -
trunk/abdev/BasicCompiler32/Compile_ProcOp.cpp
r290 r294 507 507 compiler.codeGenerator.op_mov_RV_vtbl( REG_EAX, compiler.pCompilingClass ); 508 508 509 /* TODO: 消す510 //関数テーブルに値をセット511 int offset = (int)compiler.pCompilingClass->GetVtblGlobalOffset();512 513 //mov eax,offset514 compiler.codeGenerator.op_mov_RV( REG_EAX, offset, Schedule::DataTable );515 */516 517 509 //Thisポインタをecxにコピー 518 510 SetThisPtrToReg(REG_ECX); -
trunk/abdev/BasicCompiler32/MakePeHdr.cpp
r290 r294 2 2 3 3 #include <jenga/include/common/Environment.h> 4 #include <jenga/include/common/Path.h> 5 #include <jenga/include/common/Directory.h> 4 6 5 7 #include <jenga/include/smoothie/Smoothie.h> … … 381 383 382 384 383 384 //push ebp385 compiler.codeGenerator.op_push(REG_EBP);386 387 if(bDebugCompile){388 //デバッグ用の変数を定義389 // TODO: 暫定処理なので下のif文は正しくない 390 //if( compiler.IsStaticLibrary())385 if( compiler.IsCore() ) 386 { 387 // コアモジュール(basic.sbp)をコンパイルするとき 388 389 //push ebp 390 compiler.codeGenerator.op_push(REG_EBP); 391 392 if(bDebugCompile) 391 393 { 394 //デバッグ用の変数を定義 392 395 DebugVariable(); 393 396 } 394 } 395 396 //GC用の変数を定義 397 InitGCVariables(); 398 399 //if( compiler.IsStaticLibrary() ) 400 { 397 398 //GC用の変数を定義 399 InitGCVariables(); 400 401 401 //_System_StartupProgramの呼び出し 402 402 compiler.codeGenerator.op_call(pSub_System_StartupProgram); … … 497 497 // 静的リンクライブラリ 498 498 499 // 格納先ディレクトリを作る 500 Jenga::Common::Path path( OutputFileName ); 501 Jenga::Common::Directory dir( path.GetDriveName() + path.GetDirName(), true ); 502 503 // 書き込む 499 504 if( !compiler.GetObjectModule().Write( OutputFileName ) ) 500 505 {
Note:
See TracChangeset
for help on using the changeset viewer.