gen_dev: generate all functions they may be need if a function pointer is used

This commit is contained in:
Brendan Hansknecht 2021-02-12 19:42:08 -08:00
parent 95be1a1b6d
commit c609df2d74
2 changed files with 1 additions and 14 deletions

View file

@ -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)]