mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 00:04:10 -08:00
wasm gc: fix issue in calculating identity hashcode
This commit is contained in:
parent
845523f1a7
commit
6cf2ff3cc4
|
@ -257,7 +257,7 @@ public class TObject {
|
|||
}
|
||||
return monitor.id;
|
||||
} else {
|
||||
identity = WasmGCSupport.nextObjectId();
|
||||
identity = WasmGCSupport.nextObjectId() & 0x7ffffff;
|
||||
setWasmGCIdentity(identity);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user