mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-15 10:39:47 +00:00
[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:
parent
43a77da0e6
commit
99f0983900
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user