mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 00:04:10 -08:00
Fix growHeap
This commit is contained in:
parent
a33f96b899
commit
851c09fecb
|
@ -526,13 +526,13 @@ public final class LaxMalloc {
|
|||
addrHeap(ADDR_HEAP_INNER_LIMIT).putAddress(newHeapInnerLimit);
|
||||
addrHeap(ADDR_HEAP_OUTER_LIMIT).putAddress(newHeapOuterLimit);
|
||||
notifyHeapResized();
|
||||
return newHeapInnerLimit;
|
||||
return heapInnerLimit;
|
||||
} else {
|
||||
return Address.fromInt(0);
|
||||
}
|
||||
} else {
|
||||
addrHeap(ADDR_HEAP_INNER_LIMIT).putAddress(newHeapInnerLimit);
|
||||
return newHeapInnerLimit;
|
||||
return heapInnerLimit;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user