Skip to content

Instantly share code, notes, and snippets.

@zenspider
Created May 8, 2025 22:53
Show Gist options
  • Save zenspider/314caa91aaeacb169eea58de6cfb8cce to your computer and use it in GitHub Desktop.
Save zenspider/314caa91aaeacb169eea58de6cfb8cce to your computer and use it in GitHub Desktop.
--- /dev/fd/63 2025-05-08 15:52:58
+++ /dev/fd/62 2025-05-08 15:52:58
@@ -1,14 +1,19 @@
-== disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(1,33)>
+== disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(1,36)>
0000 definemethod :x, x ( 1)[Li]
0003 putself
0004 putobject 4
0006 opt_send_without_block <calldata!mid:x, argc:1, FCALL|ARGS_SIMPLE>
0008 leave
-== disasm: #<ISeq:x@<compiled>:1 (1,0)-(1,27)>
-local table (size: 1, argc: 0 [opts: 0, rest: -1, post: 0, block: -1, kw: -1@-1, kwrest: -1])
-[ 1] "..."@0
+== disasm: #<ISeq:x@<compiled>:1 (1,0)-(1,30)>
+local table (size: 5, argc: 1 [opts: 0, rest: 1, post: 0, block: 3, kw: -1@-1, kwrest: 2])
+[ 5] a@0<Arg> [ 4] "*"@1<AnonRest>[ 3] "**"@2<AnonKwrest>[ 2] "&"@3<Block>[ 1] "..."@4
0000 putself ( 1)[LiCa]
-0001 getlocal_WC_0 "..."@0
-0003 invokesuperforward <calldata!argc:0, FCALL|SUPER|FORWARDING>, nil
-0006 leave [Re]
+0001 getlocal_WC_0 "*"@1
+0003 splatarray true
+0005 getlocal_WC_0 "**"@2
+0007 getblockparamproxy "&"@3, 0
+0010 splatkw
+0011 splatkw
+0012 invokesuper <calldata!argc:2, ARGS_SPLAT|ARGS_SPLAT_MUT|ARGS_BLOCKARG|FCALL|SUPER|KW_SPLAT>, nil
+0015 leave [Re]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment