Please sign in to comment.
Generate much better code for p6bool in some cases
An earlier optimization to make it better handle the case of native lexicals unfortunately also made it works for native intermediates, such that things like `nqp::p6bool(nqp::isconcrete($foo))` would generate bad code. While it's true that VM-level box interning meant it didn't actually allocate, it still produced much more costly code than it should have. This fixes it using the recently added decont context mechanism, giving simpler code that still produces a good result on native lexicals.
- Loading branch information...