Created
March 29, 2016 09:39
-
-
Save SpringMT/9d260cb35bfddf2c366b 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
| puts RubyVM::InstructionSequence.compile("exit(0) []").disasm | |
| == disasm: #<ISeq:<compiled>@<compiled>>================================ | |
| 0000 trace 1 ( 1) | |
| 0002 putself | |
| 0003 putobject_OP_INT2FIX_O_0_C_ | |
| 0004 opt_send_without_block <callinfo!mid:exit, argc:1, FCALL|ARGS_SIMPLE>, <callcache> | |
| 0007 opt_send_without_block <callinfo!mid:[], argc:0, ARGS_SIMPLE>, <callcache> | |
| 0010 leave | |
| => nil |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment