diff options
| author | gingerBill <ginger.bill.22@gmail.com> | 2016-08-16 11:43:21 +0100 |
|---|---|---|
| committer | gingerBill <ginger.bill.22@gmail.com> | 2016-08-16 11:43:21 +0100 |
| commit | 6f7f82d87766d4d60165ea54f2ee760f9ad12bc0 (patch) | |
| tree | 4bcb75d44fc9520b3b90d97e8dc24309dbc1e6b3 /src/codegen/print_llvm.cpp | |
| parent | 74e02760ca5f3df36200cf4bb21d7bf123b14eb1 (diff) | |
| parent | 50fd9548b95f3929295be632619c20732094c93c (diff) | |
Merge branch 'master' of http://git.handmadedev.org/gingerbill/Odin
# Conflicts:
# examples/main.ll
# examples/main.odin
# examples/win32.odin
# src/codegen/print_llvm.cpp
Diffstat (limited to 'src/codegen/print_llvm.cpp')
| -rw-r--r-- | src/codegen/print_llvm.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/codegen/print_llvm.cpp b/src/codegen/print_llvm.cpp index ae2ef5fb1..0f145d408 100644 --- a/src/codegen/print_llvm.cpp +++ b/src/codegen/print_llvm.cpp @@ -275,6 +275,10 @@ void ssa_print_instr(gbFile *f, ssaModule *m, ssaValue *value) { ssa_fprintf(f, "\t"); switch (instr->kind) { + case ssaInstr_StartupRuntime: { + ssa_fprintf(f, "call void @" SSA_STARTUP_RUNTIME_PROC_NAME "()\n"); + } break; + case ssaInstr_Local: { Type *type = instr->local.entity->type; ssa_fprintf(f, "%%%d = alloca ", value->id); |