[WebAssembly] Make the assembly printer indent instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245875 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2015-08-24 21:19:48 +00:00
parent 43a77da0e6
commit 99f0983900

View File

@ -92,6 +92,8 @@ void WebAssemblyAsmPrinter::EmitInstruction(const MachineInstr *MI) {
assert(NumDefs <= 1 &&
"Instructions with multiple result values not implemented");
OS << '\t';
if (NumDefs != 0) {
const MachineOperand &MO = MI->getOperand(0);
unsigned Reg = MO.getReg();