[WebAssembly] Factor out a TypeToString function, since we need it in multiple places.
authorDan Gohman <dan433584@gmail.com>
Sun, 6 Dec 2015 19:42:29 +0000 (19:42 +0000)
committerDan Gohman <dan433584@gmail.com>
Sun, 6 Dec 2015 19:42:29 +0000 (19:42 +0000)
commit001f3417071d4d6b08cc0dcd1dc03f5f90fe7623
tree0bea136019116ee109266a48b98dda95ea36d864
parent577f887f754894edf6d8093ddca72ff69f0659ec
[WebAssembly] Factor out a TypeToString function, since we need it in multiple places.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254884 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp
lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.h
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp