Changeset 357 in dev for trunk/abdev/BasicCompiler_Common/src/NativeCode.cpp
- Timestamp:
- Nov 5, 2007, 3:26:20 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/src/NativeCode.cpp
r287 r357 39 39 } 40 40 41 void NativeCode::PutEx( long l, Schedule::Type scheduleType ) 42 { 43 if( scheduleType == Schedule::CatchAddress ) 44 { 45 PutCatchAddressSchedule( &UserProc::CompilingUserProc(), l ); 46 } 47 else 48 { 49 if( scheduleType != Schedule::None ) 50 { 51 schedules.push_back( Schedule( scheduleType, GetSize() ) ); 52 } 53 54 Put( l ); 55 } 56 } 57 41 58 void NativeCode::PutUserProcSchedule( const UserProc *pUserProc, bool isCall ) 42 59 { … … 51 68 52 69 Put( (long)0 ); 70 } 71 72 void NativeCode::PutCatchAddressSchedule( const UserProc *pUserProc, long codePos ) 73 { 74 pUserProc->Using(); 75 76 Schedule schedule( pUserProc, GetSize() ); 77 schedule.SpecifyCatchAddress(); 78 schedules.push_back( schedule ); 79 80 Put( codePos ); 53 81 } 54 82
Note:
See TracChangeset
for help on using the changeset viewer.