Created
March 12, 2014 21:01
-
-
Save antonijn/9516275 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
import aqua.std; | |
private class Program { | |
private static void main(String[] args) { | |
} | |
} |
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
; ... | |
; ... | |
; ... | |
declare external %class.aqua.std.Array.0.1aqua.std.String.2* @aqua_init(i32, i8**) | |
declare external void @aqua_exit(i32) | |
define internal void @class.Program.main.3042927889(i8* %this, %class.aqua.std.Array.0.1aqua.std.String.2* %args) { | |
%1 = alloca %class.aqua.std.Array.0.1aqua.std.String.2* | |
store %class.aqua.std.Array.0.1aqua.std.String.2* %args, %class.aqua.std.Array.0.1aqua.std.String.2** %1 | |
ret void | |
; <label>:2 | |
} | |
define i32 @main(i32 %argc, i8** %argv) { | |
%1 = call %class.aqua.std.Array.0.1aqua.std.String.2* @aqua_init(i32 %argc, i8** %argv) | |
call void @class.Program.main.3042927889(i8* undef, %class.aqua.std.Array.0.1aqua.std.String.2* %1) | |
call void @aqua_exit(i32 0) | |
unreachable | |
; <label>:2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment