Created
June 14, 2014 02:41
-
-
Save awwaiid/d3abbac44473a9db453b to your computer and use it in GitHub Desktop.
bytecode
This file contains 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
awwaiid@totoro:~$ ruby -e 'puts RubyVM::InstructionSequence.compile("puts %w(hello world)").disasm' | |
== disasm: <RubyVM::InstructionSequence:<compiled>@<compiled>>========== | |
0000 trace 1 ( 1) | |
0002 putself | |
0003 putstring "hello" | |
0005 putstring "world" | |
0007 newarray 2 | |
0009 opt_send_simple <callinfo!mid:puts, argc:1, FCALL|ARGS_SKIP> | |
0011 leave |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment