mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
cargo fmt
This commit is contained in:
parent
64fd0ceed9
commit
df7d017287
1 changed files with 3 additions and 2 deletions
|
@ -9,6 +9,7 @@ use inkwell::types::BasicType;
|
|||
use inkwell::OptimizationLevel;
|
||||
use roc_collections::all::ImMap;
|
||||
use roc_collections::all::MutMap;
|
||||
use roc_gen::layout_id::LayoutIds;
|
||||
use roc_gen::llvm::build::{
|
||||
build_proc, build_proc_header, get_call_conventions, module_from_builtins, OptLevel,
|
||||
};
|
||||
|
@ -17,7 +18,6 @@ use roc_load::file::{LoadedModule, LoadingProblem};
|
|||
use roc_module::symbol::Symbol;
|
||||
use roc_mono::expr::{Env, Expr, PartialProc, Procs};
|
||||
use roc_mono::layout::Layout;
|
||||
use roc_gen::layout_id::LayoutIds;
|
||||
use std::time::SystemTime;
|
||||
|
||||
use clap::{App, Arg, ArgMatches};
|
||||
|
@ -463,7 +463,8 @@ fn gen(
|
|||
// because their bodies may reference each other.
|
||||
for (symbol, mut procs_by_layout) in proc_map.drain() {
|
||||
for (layout, proc) in procs_by_layout.drain() {
|
||||
let (fn_val, arg_basic_types) = build_proc_header(&env, &mut layout_ids, symbol, &layout, &proc);
|
||||
let (fn_val, arg_basic_types) =
|
||||
build_proc_header(&env, &mut layout_ids, symbol, &layout, &proc);
|
||||
|
||||
headers.push((proc, fn_val, arg_basic_types));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue