| 3965 | } |
| 3966 | |
| 3967 | void BfModule::AddCallDependency(BfMethodInstance* methodInstance, bool devirtualized) |
| 3968 | { |
| 3969 | if ((mCurMethodState != NULL) && (mCurMethodState->mHotDataReferenceBuilder != NULL)) |
| 3970 | { |
| 3971 | if (methodInstance->mHotMethod == NULL) |
| 3972 | CheckHotMethod(methodInstance, ""); |
| 3973 | BF_ASSERT(methodInstance->mHotMethod != NULL); |
| 3974 | if (devirtualized) |
| 3975 | mCurMethodState->mHotDataReferenceBuilder->mDevirtualizedCalledMethods.Add(methodInstance->mHotMethod); |
| 3976 | else |
| 3977 | mCurMethodState->mHotDataReferenceBuilder->mCalledMethods.Add(methodInstance->mHotMethod); |
| 3978 | } |
| 3979 | } |
| 3980 | |
| 3981 | bool BfModule::IsAttribute(BfTypeInstance* typeInst) |
| 3982 | { |
no test coverage detected