| commit | 8fffa1dfa3bddf44b73a6f622eafa752347202f5 | [log] [tgz] |
|---|---|---|
| author | Sam Clegg <sbc@chromium.org> | Fri Feb 22 22:29:34 2019 +0000 |
| committer | Sam Clegg <sbc@chromium.org> | Fri Feb 22 22:29:34 2019 +0000 |
| tree | e7f2e6050d2c9510bbc54a770b87e6b882985006 | |
| parent | 1e4f0735824abc9d618ae19b40b57dad2a5c5149 [diff] |
[WebAssembly] Remove unneeded MCSymbolRefExpr variants We record the type of the symbol (event/function/data/global) in the MCWasmSymbol and so it should always be clear how to handle a relocation based on the symbol itself. The exception is a function which still needs the special @TYPEINDEX then the relocation contains the signature rather than the address of the functions. Differential Revision: https://reviews.llvm.org/D58472 llvm-svn: 354697