Fix spelling in assert macro

This commit is contained in:
BreadFish64 2018-08-15 12:12:19 -05:00 committed by GitHub
parent 6d56b03304
commit b246678c8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ public:
bool HasChildren() const { return region_size != total_region_size; } bool HasChildren() const { return region_size != total_region_size; }
u8* AllocChildCodeSpace(size_t child_size) u8* AllocChildCodeSpace(size_t child_size)
{ {
ASSERT_MSG(DYNA_REG, child_size < GetSpaceLeft(), "Insufficient space for child allocation."); ASSERT_MSG(DYNA_REC, child_size < GetSpaceLeft(), "Insufficient space for child allocation.");
u8* child_region = region + region_size - child_size; u8* child_region = region + region_size - child_size;
region_size -= child_size; region_size -= child_size;
return child_region; return child_region;