diff options
Diffstat (limited to 'llvm/lib/Target/WebAssembly')
| -rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp index 6f98b4f6ed0..a3cbcbbeaf6 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp @@ -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(); |

