diff options
Diffstat (limited to 'llvm/lib/Target/Sparc/EmitAssembly.cpp')
-rw-r--r-- | llvm/lib/Target/Sparc/EmitAssembly.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/llvm/lib/Target/Sparc/EmitAssembly.cpp b/llvm/lib/Target/Sparc/EmitAssembly.cpp index 3ace61c9044..523e21e1642 100644 --- a/llvm/lib/Target/Sparc/EmitAssembly.cpp +++ b/llvm/lib/Target/Sparc/EmitAssembly.cpp @@ -309,7 +309,7 @@ private : unsigned getOperandMask(unsigned Opcode) { switch (Opcode) { - case SUBcc: return 1 << 3; // Remove CC argument + case V9::SUBcc: return 1 << 3; // Remove CC argument //case BA: return 1 << 0; // Remove Arg #0, which is always null or xcc default: return 0; // By default, don't hack operands... } @@ -320,9 +320,11 @@ inline bool SparcFunctionAsmPrinter::OpIsBranchTargetLabel(const MachineInstr *MI, unsigned int opNum) { switch (MI->getOpCode()) { - case JMPLCALL: - case JMPLRET: return (opNum == 0); - default: return false; + case V9::JMPLCALL: + case V9::JMPLRET: + return (opNum == 0); + default: + return false; } } |