| 1216 | } |
| 1217 | |
| 1218 | void BfModule::PrepareForIRWriting(BfTypeInstance* typeInst) |
| 1219 | { |
| 1220 | if (HasCompiledOutput()) |
| 1221 | { |
| 1222 | // It's possible that the target's code hasn't changed but we're requesting a new generic method specialization |
| 1223 | if ((!mIsModuleMutable) && (!typeInst->IsUnspecializedType()) && (!typeInst->mResolvingVarField)) |
| 1224 | { |
| 1225 | StartExtension(); |
| 1226 | } |
| 1227 | } |
| 1228 | else |
| 1229 | { |
| 1230 | EnsureIRBuilder(); |
| 1231 | } |
| 1232 | } |
| 1233 | |
| 1234 | void BfModule::SetupIRBuilder(bool dbgVerifyCodeGen) |
| 1235 | { |
no test coverage detected