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

Method GetConstantNull

IDEHelper/Backend/BeModule.cpp:3586–3594  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3584}
3585
3586BeConstant* BeModule::GetConstantNull(BePointerType* type)
3587{
3588 auto constant = mAlloc.Alloc<BeConstant>();
3589 if (type == NULL)
3590 constant->mType = mContext->GetPrimitiveType(BeTypeCode_NullPtr);
3591 else
3592 constant->mType = type;
3593 return constant;
3594}
3595
3596BeDbgReferenceType * BeDbgModule::CreateReferenceType(BeDbgType* elementType)
3597{

Callers 2

ReadMethod · 0.80
HandleNextCmdMethod · 0.80

Calls 1

GetPrimitiveTypeMethod · 0.45

Tested by

no test coverage detected