mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-23 18:18:00 +02:00
Improved hotswapping with extension modules
This commit is contained in:
parent
769036584a
commit
fd4fd43ce3
19 changed files with 836 additions and 232 deletions
|
@ -1063,8 +1063,8 @@ public:
|
|||
BfIRBlock mIRHeadBlock;
|
||||
BfIRBlock mIRInitBlock;
|
||||
BfIRBlock mIREntryBlock;
|
||||
Array<BfLocalVariable*, AllocatorBump<BfLocalVariable*> > mLocals;
|
||||
HashSet<BfLocalVarEntry, AllocatorBump<BfLocalVariable*> > mLocalVarSet;
|
||||
Array<BfLocalVariable*, AllocatorBump> mLocals;
|
||||
HashSet<BfLocalVarEntry, AllocatorBump> mLocalVarSet;
|
||||
Array<BfLocalMethod*> mLocalMethods;
|
||||
Dictionary<String, BfLocalMethod*> mLocalMethodMap;
|
||||
Dictionary<String, BfLocalMethod*> mLocalMethodCache; // So any lambda 'capturing' and 'processing' stages use the same local method
|
||||
|
|
|
@ -2690,11 +2690,7 @@ public:
|
|||
void ReportMemory(MemReporter* memReporter);
|
||||
};
|
||||
|
||||
class BfResolvedTypeSetFuncs : public MultiHashSetFuncs
|
||||
{
|
||||
};
|
||||
|
||||
class BfResolvedTypeSet : public MultiHashSet<BfType*, BfResolvedTypeSetFuncs>
|
||||
class BfResolvedTypeSet : public MultiHashSet<BfType*, AllocatorCLib>
|
||||
{
|
||||
public:
|
||||
enum BfHashFlags
|
||||
|
@ -2749,7 +2745,7 @@ public:
|
|||
BfTypeDef* ResolveToTypeDef(BfTypeReference* typeReference, BfType** outType = NULL);
|
||||
};
|
||||
|
||||
class Iterator : public MultiHashSet<BfType*, BfResolvedTypeSetFuncs>::Iterator
|
||||
class Iterator : public MultiHashSet<BfType*, AllocatorCLib>::Iterator
|
||||
{
|
||||
public:
|
||||
Iterator(MultiHashSet* set) : MultiHashSet::Iterator(set)
|
||||
|
|
|
@ -1254,7 +1254,7 @@ public:
|
|||
bool HasCustomAttributes();
|
||||
};
|
||||
|
||||
struct BfTypeDefMapFuncs : public MultiHashSetFuncs
|
||||
struct BfTypeDefMapFuncs : public AllocatorCLib
|
||||
{
|
||||
int GetHash(BfTypeDef* typeDef)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue