mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
var-return support for const eval methods
This commit is contained in:
parent
585e2575e8
commit
706fe9e04b
15 changed files with 292 additions and 60 deletions
|
@ -53,6 +53,19 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
class BeState
|
||||
{
|
||||
public:
|
||||
BeFunction* mActiveFunction;
|
||||
Array<BeDbgLoc*> mSavedDebugLocs;
|
||||
bool mHasDebugLoc;
|
||||
|
||||
BeBlock* mActiveBlock;
|
||||
int mInsertPos;
|
||||
BeDbgLoc* mCurDbgLoc;
|
||||
BeDbgLoc* mPrevDbgLocInline;
|
||||
BeDbgLoc* mLastDbgLoc;
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
class CmdParamVec : public SizedArray<T, 8>
|
||||
|
@ -139,6 +152,9 @@ public:
|
|||
BeMDNode* GetBeMetadata(int streamId);
|
||||
|
||||
BeType* GetBeTypeById(int id);
|
||||
|
||||
BeState GetState();
|
||||
void SetState(const BeState& state);
|
||||
};
|
||||
|
||||
NS_BF_END
|
Loading…
Add table
Add a link
Reference in a new issue