Rename InstructionFormat::IndirectCall for consistency with Opcode::CallIndirect.

This commit is contained in:
Dan Gohman
2018-04-17 09:43:05 -07:00
parent e2f6705e28
commit a9edb28414
10 changed files with 15 additions and 15 deletions

View File

@@ -2179,7 +2179,7 @@ impl<'a> Parser<'a> {
args: args.into_value_list(&[], &mut ctx.function.dfg.value_lists),
}
}
InstructionFormat::IndirectCall => {
InstructionFormat::CallIndirect => {
let sig_ref = self.match_sig("expected signature reference")?;
ctx.check_sig(sig_ref, &self.loc)?;
self.match_token(
@@ -2196,7 +2196,7 @@ impl<'a> Parser<'a> {
Token::RPar,
"expected ')' after arguments",
)?;
InstructionData::IndirectCall {
InstructionData::CallIndirect {
opcode,
sig_ref,
args: args.into_value_list(&[callee], &mut ctx.function.dfg.value_lists),