diff options
| author | gingerBill <bill@gingerbill.org> | 2020-03-08 12:34:36 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-03-08 12:34:36 +0000 |
| commit | 28502ba53b32a0e5eb9aa7d8c41424fa090ff7ef (patch) | |
| tree | 67938cb3b921e15179b65f437846de953cb2cdc8 /src/ir.cpp | |
| parent | 8dc74a004c7dcac3ed0d1fd0b218e7f8dd79efa6 (diff) | |
Fix `context` system; add more to -show-more-timings for LLVM API; Add `ODIN_USE_LLVM_API` global constant
Diffstat (limited to 'src/ir.cpp')
| -rw-r--r-- | src/ir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir.cpp b/src/ir.cpp index c5b140991..16999a209 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -11445,7 +11445,7 @@ void ir_setup_type_info_data(irProcedure *proc) { // NOTE(bill): Setup type_info ir_emit_store(proc, results, ir_get_type_info_ptr(proc, t->Proc.results)); } ir_emit_store(proc, variadic, ir_const_bool(t->Proc.variadic)); - ir_emit_store(proc, convention, ir_const_int(t->Proc.calling_convention)); + ir_emit_store(proc, convention, ir_const_u8(t->Proc.calling_convention)); // TODO(bill): TypeInfo for procedures break; |