Closed nicolaichuk closed 7 years ago
Also dont support
ERROR("dex:shl-int-2addr");
ERROR("dex:shl-int");
ERROR("dex:ushr-long-2addr");
fix in https://github.com/dragome/dragome-sdk/pull/156/commits/233e3699172e75faf0755b7e073b2280f7aa9990
javascript work only with 32-bit value when used bitwise operation.
https://stackoverflow.com/questions/3081271/number-of-bits-to-represent-a-number
And used 53-bit value for other integer operation
https://stackoverflow.com/questions/17320706/javascript-long-integer
I do not sure about valid mirror operation with 64-bit long value between java and javascript code. Maybe need write same wrapper over java native long value.
Create issue https://github.com/dragome/dragome-sdk/issues/161
I have this js after run dragome compiler:
and then error:
Perhaps it is relate with this issue https://sourceforge.net/p/xmlvm/mailman/message/27306854/
http://pallergabor.uw.hu/androidblog/dalvik_opcodes.html