Remove some dead code from the abi code (#4653)

These were originally used by the old backend framework as part of
legalizing function signatures for the respective ABI.
This commit is contained in:
bjorn3
2022-08-09 21:21:55 +02:00
committed by GitHub
parent 6b6fc9ec3e
commit a4aa7258de
7 changed files with 10 additions and 94 deletions

View File

@@ -1406,10 +1406,10 @@ impl<'a> Parser<'a> {
// Parse a single argument type with flags.
fn parse_abi_param(&mut self) -> ParseResult<AbiParam> {
// abi-param ::= * type { flag } [ argumentloc ]
// abi-param ::= * type { flag }
let mut arg = AbiParam::new(self.match_type("expected parameter type")?);
// abi-param ::= type * { flag } [ argumentloc ]
// abi-param ::= type * { flag }
while let Some(Token::Identifier(s)) = self.token() {
match s {
"uext" => arg.extension = ArgumentExtension::Uext,