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:
@@ -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[..];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user