-
-
Save shyouhei/b99f43ac64ec83351e16aae90c8f2a82 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| zsh % ./miniruby --dump=insns -ve '[*ary1, *ary2]' | |
| ruby 2.5.0dev (2017-01-17) [x86_64-darwin15] | |
| == disasm: #<ISeq:<main>@-e>============================================ | |
| 0000 trace 1 ( 1) | |
| 0002 putself | |
| 0003 opt_send_without_block <callinfo!mid:ary1, argc:0, FCALL|VCALL|ARGS_SIMPLE>, <callcache> | |
| 0006 splatarray true | |
| 0008 putself | |
| 0009 opt_send_without_block <callinfo!mid:ary2, argc:0, FCALL|VCALL|ARGS_SIMPLE>, <callcache> | |
| 0012 concatarray | |
| 0013 leave |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment