WASM: don't write Address objects to GC roots

This commit is contained in:
Alexey Andreev 2016-09-22 00:10:37 +03:00
parent fcf0394214
commit ff6a917bc3

View File

@ -259,7 +259,7 @@ public class WasmClassGenerator {
return true;
}
if (cls.getName().equals(Address.class.getName())) {
return true;
return false;
}
while (cls != null) {
if (cls.getName().equals(Structure.class.getName()) || cls.getName().equals(Function.class.getName())) {