mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
Progress on List.set in Cranelift
This commit is contained in:
parent
97da88b22f
commit
bf129a7299
2 changed files with 46 additions and 27 deletions
|
@ -1259,7 +1259,6 @@ fn bounds_check_comparison<'ctx>(
|
|||
elem_index: IntValue<'ctx>,
|
||||
len: IntValue<'ctx>,
|
||||
) -> IntValue<'ctx> {
|
||||
//
|
||||
// Note: Check for index < length as the "true" condition,
|
||||
// to avoid misprediction. (In practice this should usually pass,
|
||||
// and CPUs generally default to predicting that a forward jump
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue