mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -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_INNER_LIMIT).putAddress(newHeapInnerLimit);
|
||||||
addrHeap(ADDR_HEAP_OUTER_LIMIT).putAddress(newHeapOuterLimit);
|
addrHeap(ADDR_HEAP_OUTER_LIMIT).putAddress(newHeapOuterLimit);
|
||||||
notifyHeapResized();
|
notifyHeapResized();
|
||||||
return newHeapInnerLimit;
|
return heapInnerLimit;
|
||||||
} else {
|
} else {
|
||||||
return Address.fromInt(0);
|
return Address.fromInt(0);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
addrHeap(ADDR_HEAP_INNER_LIMIT).putAddress(newHeapInnerLimit);
|
addrHeap(ADDR_HEAP_INNER_LIMIT).putAddress(newHeapInnerLimit);
|
||||||
return newHeapInnerLimit;
|
return heapInnerLimit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user