Can should still leave the system in a state such that we when we save as much progress as possible while still leaving the system in a state that the next attempt at compile will resume with a valid state Canceling will still process the pending PopulateType calls but may leave items in the method worklist. Note that Cancel is an async request to cancel
| 8137 | // Canceling will still process the pending PopulateType calls but may leave items in the method worklist. |
| 8138 | // Note that Cancel is an async request to cancel |
| 8139 | void BfCompiler::Cancel() |
| 8140 | { |
| 8141 | mCanceling = true; |
| 8142 | mFastFinish = true; |
| 8143 | mHadCancel = true; |
| 8144 | if (mCeMachine != NULL) |
| 8145 | { |
| 8146 | AutoCrit autoCrit(mCeMachine->mCritSect); |
| 8147 | mCeMachine->mSpecialCheck = true; |
| 8148 | mFastFinish = true; |
| 8149 | } |
| 8150 | BfLogSysM("BfCompiler::Cancel\n"); |
| 8151 | BpEvent("BfCompiler::Cancel", ""); |
| 8152 | } |
| 8153 | |
| 8154 | void BfCompiler::RequestFastFinish() |
| 8155 | { |
no test coverage detected