diff options
| author | gingerBill <bill@gingerbill.org> | 2019-09-17 19:47:13 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2019-09-17 19:47:13 +0100 |
| commit | 4cef160c87582c3a8d6000209a4154a9f585ba29 (patch) | |
| tree | 067d28576db67c99b76488d6b0b73f4ac6d675f0 /src/ir.cpp | |
| parent | 68582c5ad1b2bf562242b9d2f40c89efad343b66 (diff) | |
| parent | a9a2dafca52775fcd2d8eb174376c09f83bd4be3 (diff) | |
Merge branch 'master' of https://github.com/odin-lang/Odin
Diffstat (limited to 'src/ir.cpp')
| -rw-r--r-- | src/ir.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ir.cpp b/src/ir.cpp index 4d5a55814..1c326359b 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -10964,12 +10964,14 @@ void ir_gen_tree(irGen *s) { // main :: proc(argc: i32, argv: ^^u8) -> i32 String name = str_lit("main"); +#if 0 if (str_eq_ignore_case(cross_compile_target, str_lit("Essence"))) { // This is a bit hacky, // because this makes this function the first function run in the executable // so it won't actually have the argc/argv arguments. name = str_lit("ProgramEntry"); } +#endif Type *proc_params = alloc_type_tuple(); Type *proc_results = alloc_type_tuple(); |