Created
June 28, 2011 15:39
-
-
Save hosiawak/1051419 to your computer and use it in GitHub Desktop.
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
karol@mint ~/projects/personal/rubinius_macros $ rbx compile -B -e "if :hello then 'hello' else 'else'; end" | |
============= :__script__ ============== | |
Arguments: 0 required, 0 total | |
Locals: 0 | |
Stack size: 1 | |
Lines to IP: 1: 0..11, 0: 12..14 | |
0000: push_literal :hello | |
0002: goto_if_false 9 | |
0004: push_literal "hello" | |
0006: string_dup | |
0007: goto 12 | |
0009: push_literal "else" | |
0011: string_dup | |
0012: pop | |
0013: push_true | |
0014: ret | |
---------------------------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment