Skip to content

Commit

Permalink
Bump NQP and implement Code.bytecode-size
Browse files Browse the repository at this point in the history
On MoarVM only.
  • Loading branch information
lizmat committed Jun 15, 2022
1 parent 0c9169d commit d253dc7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/core.c/Code.pm6
Expand Up @@ -12,6 +12,12 @@ my class Code { # declared in BOOTSTRAP

method is-implementation-detail(--> False) { }

#?if moar
method bytecode-size() {
nqp::dispatch('boot-syscall', 'code-bytecode-size', $!do)
}
#?endif

proto method POSITIONS(|) {*} # is implementation-detail

method arity(Code:D:) { nqp::getattr_i($!signature,Signature,'$!arity') }
Expand Down
2 changes: 1 addition & 1 deletion tools/templates/NQP_REVISION
@@ -1 +1 @@
2022.06
2022.06-1-ge3c439991

0 comments on commit d253dc7

Please sign in to comment.