codegen: split lower.rs into multiple files;

This splits off lower.rs into two files: lower.rs keeps all the utility
functions, while lower_inst.rs contains the (gigantic!) function
lowering a single Cranelift instruction into vcode.

This is done to satisfy a check done on the maximal file's size when
vendoring Rust source code into Mozilla central's repository.
This commit is contained in:
Benjamin Bouvier
2020-04-29 15:20:48 +02:00
parent a2b6c19861
commit 4c066b1c73
3 changed files with 2218 additions and 2163 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -17,6 +17,7 @@ use target_lexicon::{Aarch64Architecture, Architecture, Triple};
mod abi;
mod inst;
mod lower;
mod lower_inst;
use inst::create_reg_universe;