[PATCH] D97761: [WebAssembly] Swap operand order of call_indirect in text format

Andy Wingo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 2 03:29:35 PST 2021


wingo added a subscriber: aardappel.
wingo added a comment.

Related to https://reviews.llvm.org/D90948#2572528.  Note that this patch parses `call_indirect () -> ()` the same as `call_indirect __indirect_function_table, () -> ()` when reference-types is enabled, i.e. supplying the "missing" operand.  Advantage is that you can compile the same input with or without reference types.  Disadvantage is that it's slightly magical.  Feedback welcome.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97761/new/

https://reviews.llvm.org/D97761



More information about the llvm-commits mailing list