HomePhabricator

[WebAssembly] Refactor WebAssemblyLowerEmscriptenException pass for…

Description

[WebAssembly] Refactor WebAssemblyLowerEmscriptenException pass for setjmp/longjmp

This patch changes the code structure of
WebAssemblyLowerEmscriptenException pass to support both exception
handling and setjmp/longjmp. It also changes the name of the pass and
the source file.

  1. Change the file/pass name to WebAssemblyLowerEmscriptenExceptions ->

WebAssemblyLowerEmscriptenEHSjLj to make it clear that it supports both
EH and SjLj

  1. List function / global variable names at the top so they

can be changed easily

  1. Some cosmetic changes

Patch by Heejin Ahn

Differential Revision: https://reviews.llvm.org/D23588

Details

Committed
dschuffAug 18 2016, 8:27 AM
Differential Revision
D23588: Change code structure of WebAssemblyLowerEmscriptenException pass
Parents
rL279074: [AArch64][GlobalISel] Select G_SDIV/G_UDIV.
Branches
Unknown
Tags
Unknown