mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 23:31:12 +00:00
gen_dev: generate all functions they may be need if a function pointer is used
This commit is contained in:
parent
95be1a1b6d
commit
c609df2d74
2 changed files with 1 additions and 14 deletions
|
@ -23,14 +23,6 @@ pub struct Env<'a> {
|
|||
pub lazy_literals: bool,
|
||||
}
|
||||
|
||||
// INLINED_SYMBOLS is a set of all of the functions we automatically inline if seen.
|
||||
const INLINED_SYMBOLS: [Symbol; 4] = [
|
||||
Symbol::NUM_ABS,
|
||||
Symbol::NUM_ADD,
|
||||
Symbol::NUM_SUB,
|
||||
Symbol::BOOL_EQ,
|
||||
];
|
||||
|
||||
// These relocations likely will need a length.
|
||||
// They may even need more definition, but this should be at least good enough for how we will use elf.
|
||||
#[derive(Debug)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue