mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2025-01-09 00:14:10 -08:00
Wasm: support null checks and array bound checks
This commit is contained in:
parent
7d95c0fb04
commit
c35861610f
|
@ -54,7 +54,6 @@ public class WasmSpecialFunctionGenerator {
|
||||||
return function;
|
return function;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private WasmFunction availableBytes() {
|
private WasmFunction availableBytes() {
|
||||||
WasmFunction function = new WasmFunction("teavm_availableBytes");
|
WasmFunction function = new WasmFunction("teavm_availableBytes");
|
||||||
function.setExportName("teavm_availableBytes");
|
function.setExportName("teavm_availableBytes");
|
||||||
|
@ -66,7 +65,6 @@ public class WasmSpecialFunctionGenerator {
|
||||||
return function;
|
return function;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private WasmFunction regionsAddress() {
|
private WasmFunction regionsAddress() {
|
||||||
WasmFunction function = new WasmFunction("teavm_regionsAddress");
|
WasmFunction function = new WasmFunction("teavm_regionsAddress");
|
||||||
function.setExportName("teavm_regionsAddress");
|
function.setExportName("teavm_regionsAddress");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user