Ensure lowlevel inlining does not skip bounds checks

This commit is contained in:
Brian Carroll 2021-11-15 12:49:15 +00:00
parent 8f0c2db418
commit 46636ef331
3 changed files with 22 additions and 20 deletions

View file

@ -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,