| 3747 | } |
| 3748 | |
| 3749 | BeValue* BeIRCodeGen::TryGetBeValue(int id) |
| 3750 | { |
| 3751 | auto& result = mResults[id]; |
| 3752 | if (result.mKind != BeIRCodeGenEntryKind_Value) |
| 3753 | return NULL; |
| 3754 | #ifdef BE_EXTRA_CHECKS |
| 3755 | BF_ASSERT(!result.mBeValue->mLifetimeEnded); |
| 3756 | BF_ASSERT(!result.mBeValue->mWasRemoved); |
| 3757 | #endif |
| 3758 | return result.mBeValue; |
| 3759 | } |
| 3760 | |
| 3761 | BeValue* BeIRCodeGen::GetBeValue(int id) |
| 3762 | { |
no outgoing calls
no test coverage detected