[WebAssembly] Introduce a WebAssemblyTargetStreamer class.
authorDan Gohman <dan433584@gmail.com>
Tue, 12 Jan 2016 20:30:51 +0000 (20:30 +0000)
committerDan Gohman <dan433584@gmail.com>
Tue, 12 Jan 2016 20:30:51 +0000 (20:30 +0000)
commitf49a61441da5a12ade9cee64f5761c583fbd62fb
tree931aaf6f8559b0aae5c9f54e88e804de72a49ccb
parent9d327232e34ea4c7ed07f420b3595869121e4c1d
[WebAssembly] Introduce a WebAssemblyTargetStreamer class.

Refactor .param, .result, .local, and .endfunc, as directives, using the
proper MCTargetStreamer mechanism, rather than fake instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257511 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp
lib/Target/WebAssembly/MCTargetDesc/CMakeLists.txt
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.cpp
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.cpp [new file with mode: 0644]
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.h [new file with mode: 0644]
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
lib/Target/WebAssembly/WebAssemblyInstrControl.td
lib/Target/WebAssembly/WebAssemblyInstrInfo.td