diff options
author | Heejin Ahn <aheejin@gmail.com> | 2019-02-20 01:29:34 +0000 |
---|---|---|
committer | Heejin Ahn <aheejin@gmail.com> | 2019-02-20 01:29:34 +0000 |
commit | 20ea1826f7dcb1fcc36e13fb088497576886118c (patch) | |
tree | 8f8d266b1cdbbf168b176768ad38bf349b639139 /llvm/lib/Object/WasmObjectFile.cpp | |
parent | 5fefb02e274ba124f65d31ac85d0af5167262221 (diff) | |
download | llvm-20ea1826f7dcb1fcc36e13fb088497576886118c.zip llvm-20ea1826f7dcb1fcc36e13fb088497576886118c.tar.gz llvm-20ea1826f7dcb1fcc36e13fb088497576886118c.tar.bz2 |
[WebAssembly] Refactor atomic operation definitions (NFC)
Summary:
- Make `ATOMIC_I`, `ATOMIC_NRI`, `AtomicLoad`, `AtomicStore` classes and
make other operations inherit from them
- Factor the common opcode prefix '0xfe' out from the opcodes into the
common class
- Reorder instructions in the order of increasing opcodes
Reviewers: tlively
Subscribers: dschuff, sbc100, jgravelle-google, sunfish, jfb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D58338
llvm-svn: 354421
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions