mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
Ensure lowlevel inlining does not skip bounds checks
This commit is contained in:
parent
8f0c2db418
commit
46636ef331
3 changed files with 22 additions and 20 deletions
|
@ -228,7 +228,7 @@ where
|
|||
..
|
||||
} => {
|
||||
// If this function is just a lowlevel wrapper, then inline it
|
||||
if let Some(lowlevel) = LowLevel::from_wrapper_symbol(*func_sym) {
|
||||
if let Some(lowlevel) = LowLevel::from_inlined_wrapper(*func_sym) {
|
||||
self.build_run_low_level(
|
||||
sym,
|
||||
&lowlevel,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue