diff options
| author | JooperGH <alexandredmfs@gmail.com> | 2022-12-19 11:46:35 +0000 |
|---|---|---|
| committer | JooperGH <alexandredmfs@gmail.com> | 2022-12-19 11:46:35 +0000 |
| commit | 4a70265bfb2a7205e80b527eb46fa4558114ad93 (patch) | |
| tree | ca8c2931e2699427fef1fb48920dc732f61ad340 /src/llvm_backend_expr.cpp | |
| parent | de0d86088020df8185a9b1900273d86c7c60596d (diff) | |
| parent | 0829ac30f743aa567b2da5dc490ff1b2b13ea37c (diff) | |
Merge branch 'master' of https://github.com/odin-lang/Odin into more_dwmapi_bindings
Diffstat (limited to 'src/llvm_backend_expr.cpp')
| -rw-r--r-- | src/llvm_backend_expr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llvm_backend_expr.cpp b/src/llvm_backend_expr.cpp index 389bfb151..2c1bfecd6 100644 --- a/src/llvm_backend_expr.cpp +++ b/src/llvm_backend_expr.cpp @@ -134,7 +134,7 @@ lbValue lb_emit_unary_arith(lbProcedure *p, TokenKind op, lbValue x, Type *type) Type *elem_type = base_array_type(type); // NOTE(bill): Doesn't need to be zero because it will be initialized in the loops - lbAddr res_addr = lb_add_local(p, type, nullptr, false, 0, true); + lbAddr res_addr = lb_add_local(p, type, nullptr, false, true); lbValue res = lb_addr_get_ptr(p, res_addr); bool inline_array_arith = lb_can_try_to_inline_array_arith(type); |