1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Fix for lambda caching within mixin

This commit is contained in:
Brian Fiete 2020-10-30 09:03:36 -07:00
parent 08703e0cf4
commit 8abb72939b
3 changed files with 60 additions and 10 deletions

View file

@ -943,7 +943,7 @@ public:
Dictionary<String, BfLocalMethod*> mLocalMethodCache; // So any lambda 'capturing' and 'processing' stages use the same local method
Array<BfDeferredLocalMethod*> mDeferredLocalMethods;
OwnedVector<BfMixinState> mMixinStates;
Dictionary<BfAstNode*, BfLambdaInstance*> mLambdaCache;
Dictionary<BfAstNodeList, BfLambdaInstance*> mLambdaCache;
Array<BfLambdaInstance*> mDeferredLambdaInstances;
Array<BfIRValue> mSplatDecompAddrs;
BfDeferredLocalAssignData* mDeferredLocalAssignData;
@ -1955,5 +1955,5 @@ namespace std
{
return std::hash<Beefy::String>()(val.mLocalVar->mName);
}
};
};
}