Trap registry

This commit is contained in:
Artur Jamro
2019-09-19 17:20:46 -07:00
committed by Dan Gohman
parent d1706117e5
commit fa9175f9e5
12 changed files with 248 additions and 19 deletions

View File

@@ -233,7 +233,8 @@ fn handle_module(
)
};
let (compilation, relocations, address_transform, value_ranges, stack_slots) =
// TODO: use the traps information
let (compilation, relocations, address_transform, value_ranges, stack_slots, _traps) =
Cranelift::compile_module(
&module,
lazy_function_body_inputs,