mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
Back out a26c9e7823e4 (bug 620291), didn't notice it was nanojit
This commit is contained in:
parent
b6494031e8
commit
b6d925bc1a
@ -214,13 +214,13 @@ namespace nanojit
|
||||
}
|
||||
else {
|
||||
CodeList* free_block = availblocks;
|
||||
while (free_block->next != coalescedBlock) {
|
||||
while ( free_block && free_block->next != coalescedBlock) {
|
||||
NanoAssert(free_block->size() >= minAllocSize);
|
||||
NanoAssert(free_block->isFree);
|
||||
NanoAssert(free_block->next);
|
||||
free_block = free_block->next;
|
||||
}
|
||||
NanoAssert(free_block->next == coalescedBlock);
|
||||
NanoAssert(free_block && free_block->next == coalescedBlock);
|
||||
free_block->next = coalescedBlock->next;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user