mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
inc lowlevel return value
This commit is contained in:
parent
e28db15b7e
commit
c1ced3c5d2
15 changed files with 227 additions and 189 deletions
|
@ -158,6 +158,7 @@ impl LowLevel {
|
|||
/// Some wrapper functions can just be replaced by lowlevels in the backend for performance.
|
||||
/// For example, Num.add should be an instruction, not a function call.
|
||||
/// Variant names are chosen to help explain what to do when adding new lowlevels
|
||||
#[derive(PartialEq, Eq)]
|
||||
pub enum LowLevelWrapperType {
|
||||
/// This wrapper function contains no logic and we can remove it in code gen
|
||||
CanBeReplacedBy(LowLevel),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue