remove full() function

This commit is contained in:
Folkert 2021-06-18 22:08:42 +02:00
parent daa1374678
commit fe81eabbfa
4 changed files with 12 additions and 12 deletions

View file

@ -2624,10 +2624,6 @@ impl<'a> TopLevelFunctionLayout<'a> {
},
}
}
pub fn full(&'a self) -> Layout<'a> {
Layout::FunctionPointer(self.arguments, &self.result)
}
}
fn specialize_naked_symbol<'a>(
@ -6788,7 +6784,7 @@ fn call_specialized_proc<'a>(
arguments: field_symbols,
};
build_call(env, call, assigned, function_layout.full(), hole)
build_call(env, call, assigned, function_layout.result, hole)
}
}
} else {