diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-12-09 14:19:58 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-09 14:19:58 -0500 |
| commit | 5ff0f364a5bd339fbeec46656178201752999234 (patch) | |
| tree | e7d79d9a0626ec5b92d9eb21b9ea3ac3c0087897 /src | |
| parent | 3599fb9bfc221c37cdd59d3b19a10eff63a4170e (diff) | |
| parent | 3f0a4ffbf417f1878491d7bc4eac24924dae7a5c (diff) | |
| download | zig-5ff0f364a5bd339fbeec46656178201752999234.tar.gz zig-5ff0f364a5bd339fbeec46656178201752999234.zip | |
Merge pull request #7366 from LemonBoy/fix-7346
Some compiler-rt fixes
Diffstat (limited to 'src')
| -rw-r--r-- | src/stage1/ir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stage1/ir.cpp b/src/stage1/ir.cpp index 923b3f7a7e..10ebf67e35 100644 --- a/src/stage1/ir.cpp +++ b/src/stage1/ir.cpp @@ -26901,7 +26901,7 @@ static IrInstGen *ir_analyze_instruction_set_eval_branch_quota(IrAnalyze *ira, IrInstSrcSetEvalBranchQuota *instruction) { uint64_t new_quota; - if (!ir_resolve_usize(ira, instruction->new_quota->child, &new_quota)) + if (!ir_resolve_unsigned(ira, instruction->new_quota->child, ira->codegen->builtin_types.entry_u32, &new_quota)) return ira->codegen->invalid_inst_gen; if (new_quota > *ira->new_irb.exec->backward_branch_quota) { |
