Remove Signature's argument_bytes field.

It's not currently used. If we do need such information, it would be
better to compute it on demand.
This commit is contained in:
Dan Gohman
2018-08-28 12:36:21 -07:00
parent e60477092a
commit 6af407144c
5 changed files with 1 additions and 48 deletions

View File

@@ -1160,11 +1160,6 @@ impl<'a> Verifier<'a> {
) -> VerifierStepResult<()> {
let sig = &self.func.dfg.signatures[sig_ref];
// Before legalization, there's nothing to check.
if sig.argument_bytes.is_none() {
return Ok(());
}
let args = self.func.dfg.inst_variable_args(inst);
let expected_args = &sig.params[..];