mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 23:36:00 +02:00
Fixed non-composites 'in' parameters
This commit is contained in:
parent
309e3cb02a
commit
0cf9135b8a
5 changed files with 51 additions and 8 deletions
|
@ -578,6 +578,7 @@ public:
|
|||
enum BfTypedValueKind
|
||||
{
|
||||
BfTypedValueKind_Addr,
|
||||
BfTypedValueKind_VolatileAddr,
|
||||
BfTypedValueKind_CopyOnMutateAddr,
|
||||
BfTypedValueKind_CopyOnMutateAddr_Derived,
|
||||
BfTypedValueKind_ReadOnlyAddr,
|
||||
|
@ -586,7 +587,7 @@ enum BfTypedValueKind
|
|||
BfTypedValueKind_ReadOnlyTempAddr,
|
||||
BfTypedValueKind_ThisAddr,
|
||||
BfTypedValueKind_BaseAddr,
|
||||
BfTypedValueKind_ReadOnlyThisAddr,
|
||||
BfTypedValueKind_ReadOnlyThisAddr,
|
||||
BfTypedValueKind_ReadOnlyBaseAddr,
|
||||
|
||||
BfTypedValueKind_Value,
|
||||
|
@ -750,6 +751,11 @@ public:
|
|||
mKind = (BfTypedValueKind)((int)mKind - 1);
|
||||
}
|
||||
|
||||
bool IsVolatile() const
|
||||
{
|
||||
return mKind == BfTypedValueKind_VolatileAddr;
|
||||
}
|
||||
|
||||
bool IsSplat() const
|
||||
{
|
||||
return (mKind >= BfTypedValueKind_SplatHead) && (mKind <= BfTypedValueKind_ParamsSplat);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue