mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-14 08:30:50 +00:00
- removed assert that got triggered in an edge case that must pass here.
This commit is contained in:
parent
d222e82bbc
commit
099b278f18
1 changed files with 3 additions and 1 deletions
|
@ -489,7 +489,9 @@ void VMFunctionBuilder::RegAvailability::Return(int reg, int count)
|
|||
mask <<= firstbit;
|
||||
// If we are trying to return registers that are already free,
|
||||
// it probably means that the caller messed up somewhere.
|
||||
assert((Used[firstword] & mask) == mask);
|
||||
// Unfortunately this can happen if an 'action' function gets called from a non-action context,
|
||||
// because for that case it pushes the self pointer a second time without reallocating, so it gets freed twice.
|
||||
//assert((Used[firstword] & mask) == mask);
|
||||
Used[firstword] &= ~mask;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue