MCPcopy Create free account
hub / github.com/beefytech/Beef / TryGetBeValue

Method TryGetBeValue

IDEHelper/Backend/BeIRCodeGen.cpp:3749–3759  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3747}
3748
3749BeValue* 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
3761BeValue* BeIRCodeGen::GetBeValue(int id)
3762{

Callers 2

BuildMethod · 0.80
GetFunctionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected