mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
More const eval progress
This commit is contained in:
parent
a3ea79cd62
commit
9b80c26d0a
26 changed files with 1673 additions and 460 deletions
|
@ -146,4 +146,16 @@ public:
|
|||
uint64 Finish64();
|
||||
};
|
||||
|
||||
NS_BF_END
|
||||
NS_BF_END
|
||||
|
||||
namespace std
|
||||
{
|
||||
template<>
|
||||
struct hash<Beefy::Val128>
|
||||
{
|
||||
size_t operator()(const Beefy::Val128& val) const
|
||||
{
|
||||
return val.mLow;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
@ -151,6 +151,8 @@ void ContiguousHeap::Clear(int maxAllocSize)
|
|||
while (block != NULL)
|
||||
{
|
||||
block->mKind = ChBlockKind_Bad;
|
||||
if (block->mNext == -1)
|
||||
break;
|
||||
block = CH_REL_TO_ABS(block->mNext);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue