forked from M-Labs/nac3
1
0
Fork 0

remove obvious comment

This commit is contained in:
Sebastien Bourdeauducq 2022-01-13 12:31:28 +08:00
parent 2579ecbd19
commit 82509d60ec
1 changed files with 0 additions and 1 deletions

View File

@ -13,7 +13,6 @@ pub fn load_irrt(ctx: &Context) -> Module {
"irrt_bitcode_buffer", "irrt_bitcode_buffer",
); );
let irrt_mod = Module::parse_bitcode_from_buffer(&bitcode_buf, ctx).unwrap(); let irrt_mod = Module::parse_bitcode_from_buffer(&bitcode_buf, ctx).unwrap();
// add alwaysinline attributes to power function to help them get inlined
let inline_attr = Attribute::get_named_enum_kind_id("alwaysinline"); let inline_attr = Attribute::get_named_enum_kind_id("alwaysinline");
for symbol in &["__nac3_irrt_int_exp_int32_t", "__nac3_irrt_int_exp_int64_t"] { for symbol in &["__nac3_irrt_int_exp_int32_t", "__nac3_irrt_int_exp_int64_t"] {
let function = irrt_mod.get_function(symbol).unwrap(); let function = irrt_mod.get_function(symbol).unwrap();