mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
Restore some more things to how they were before
This commit is contained in:
parent
0951f8048e
commit
2491b2e43b
2 changed files with 16 additions and 3 deletions
|
@ -1083,7 +1083,7 @@ fn list_set<'a, B: Backend>(
|
|||
// to avoid misprediction. (In practice this should usually pass,
|
||||
// and CPUs generally default to predicting that a forward jump
|
||||
// shouldn't be taken; that is, they predict "else" won't be taken.)
|
||||
builder.ins().icmp(IntCC::UnsignedLessThan, list_len, elem_index);
|
||||
builder.ins().icmp(IntCC::UnsignedLessThan, elem_index, list_len);
|
||||
|
||||
builder.ins().brz(comparison, fail_block, &[]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue