Raku / nqp

NQP
Other
341 stars 131 forks source link

[JVM] Implement the objprimunsigned and objprimbits ops #781

Closed Kaiepi closed 1 year ago

Kaiepi commented 2 years ago

These ops exist alongside nqp::objprimspec as storage spec-related ops on MoarVM and the JS backend (going off git grep at least). nqp::objprimunsigned would be nice to have portably for Array::Shaped.STORE in https://github.com/rakudo/rakudo/pull/5062, while nqp::objprimbits is just added for consistency's sake. Passes make test and a Rakudo build, but requires https://github.com/MoarVM/MoarVM/pull/1724 in order to do so.