mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-23 00:24:11 -08:00
WASM: don't write Address objects to GC roots
This commit is contained in:
parent
fcf0394214
commit
ff6a917bc3
|
@ -259,7 +259,7 @@ public class WasmClassGenerator {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (cls.getName().equals(Address.class.getName())) {
|
if (cls.getName().equals(Address.class.getName())) {
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
while (cls != null) {
|
while (cls != null) {
|
||||||
if (cls.getName().equals(Structure.class.getName()) || cls.getName().equals(Function.class.getName())) {
|
if (cls.getName().equals(Structure.class.getName()) || cls.getName().equals(Function.class.getName())) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user