This patch supports .eventtype directive printing and parsing in the
same syntax with .functype.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp | ||
---|---|---|
463 ↗ | (On Diff #176928) | I don't really know what this TODO means, but because other directives have it, I just pasted it again here. |
Comment Actions
Since event types can't have return values (they are always no_return right?) should we split out "parseParamList" and have them look like this?
.eventtype __cpp_exception i32 .eventtype some_other_exception i32, i32
lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp | ||
---|---|---|
463 ↗ | (On Diff #176928) | This comment is related to the comment above about WebAssemblyAsmPrinter::EmitFunctionBodyStart. Effectively it means that compared to that code, we're missing this particular emit, but it doesn't seem to matter |