mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Fixed deferred function call
This commit is contained in:
parent
805d312c98
commit
be0733d37c
6 changed files with 81 additions and 25 deletions
|
@ -401,6 +401,14 @@ enum BfBinOpFlags
|
|||
BfBinOpFlag_DeferRight = 0x20
|
||||
};
|
||||
|
||||
struct BfDeferCallData
|
||||
{
|
||||
BfAstNode* mRefNode;
|
||||
BfScopeData* mScopeAlloc;
|
||||
BfIRValue mFuncAlloca; // When we need to load
|
||||
BfIRValue mFuncAlloca_Orig;
|
||||
};
|
||||
|
||||
class BfExprEvaluator : public BfStructuralVisitor
|
||||
{
|
||||
public:
|
||||
|
@ -422,9 +430,8 @@ public:
|
|||
BfAttributeState* mPrefixedAttributeState;
|
||||
BfTypedValue* mReceivingValue;
|
||||
BfFunctionBindResult* mFunctionBindResult;
|
||||
SizedArray<BfResolvedArg, 2> mIndexerValues;
|
||||
BfAstNode* mDeferCallRef;
|
||||
BfScopeData* mDeferScopeAlloc;
|
||||
SizedArray<BfResolvedArg, 2> mIndexerValues;
|
||||
BfDeferCallData* mDeferCallData;
|
||||
bool mUsedAsStatement;
|
||||
bool mPropDefBypassVirtual;
|
||||
bool mExplicitCast;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue