aboutsummaryrefslogtreecommitdiff
path: root/src/ir.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-01-12 13:53:57 +0000
committergingerBill <bill@gingerbill.org>2020-01-12 13:53:57 +0000
commitf0c6f29f829b2ec2dda7e54d2a630f574c28dd72 (patch)
tree71965fc8c5494c7fa75cf5057f17fc43373a5d52 /src/ir.cpp
parent7d9a9a2283c6c0cbd1e1034b2496d4898335beb0 (diff)
parentba85e432e77eec502a00a0bfc3c4b8b30dfb8f32 (diff)
Merge branch 'master' of https://github.com/odin-lang/Odin
Diffstat (limited to 'src/ir.cpp')
-rw-r--r--src/ir.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ir.cpp b/src/ir.cpp
index 8af0b85bd..de7bfef82 100644
--- a/src/ir.cpp
+++ b/src/ir.cpp
@@ -1713,6 +1713,7 @@ irValue *ir_add_local(irProcedure *proc, Entity *e, Ast *expr, bool zero_initial
if (zero_initialized) {
ir_emit_zero_init(proc, instr, expr);
}
+ set_procedure_abi_types(heap_allocator(), e->type);
// if (proc->module->generate_debug_info && expr != nullptr && proc->entity != nullptr) {
// if (proc->module->generate_debug_info && proc->entity != nullptr) {