diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-09-23 18:57:26 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-09-23 18:57:26 +0000 |
commit | c8ab9eb066f6d35880e3a24436baf21236c921ca (patch) | |
tree | ce377f0bbdede7225b7ae597836b7c7b78289596 | |
parent | 8c1f4329e2f90dea203f3a85a992865e936dea4a (diff) | |
download | external_llvm-c8ab9eb066f6d35880e3a24436baf21236c921ca.zip external_llvm-c8ab9eb066f6d35880e3a24436baf21236c921ca.tar.gz external_llvm-c8ab9eb066f6d35880e3a24436baf21236c921ca.tar.bz2 |
Unbreak build. Jim, please review.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114684 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/ARMAsmPrinter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/ARM/ARMAsmPrinter.cpp b/lib/Target/ARM/ARMAsmPrinter.cpp index 7bf7642..8dfc569 100644 --- a/lib/Target/ARM/ARMAsmPrinter.cpp +++ b/lib/Target/ARM/ARMAsmPrinter.cpp @@ -1216,7 +1216,7 @@ void ARMAsmPrinter::EmitInstruction(const MachineInstr *MI) { // FIXME: This really should be in AsmPrinter/ARMInstPrinter.cpp, not here. // Need a way to ask "isTargetDarwin()" there, first, though. if (MI->getOpcode() == ARM::TRAP && !Subtarget->isTargetDarwin()) { - OS << "\t.long\t2147348462\t\t" << MAI->getCommentString() << "trap"; + OS << "\t.long\t3892305662\t\t" << MAI->getCommentString() << "trap"; } else if (MI->getOpcode() == ARM::tTRAP && !Subtarget->isTargetDarwin()) { OS << "\t.short\t57086\t\t\t" << MAI->getCommentString() << " trap"; } else @@ -1729,7 +1729,7 @@ void ARMAsmPrinter::printInstructionThroughMCStreamer(const MachineInstr *MI) { // FIXME: Remove this special case when they do. if (!Subtarget->isTargetDarwin()) { //.long 0xe7ffdefe ${:comment} trap - uint32_t Val = 0xe7ffdefee; + uint32_t Val = 0xe7ffdefe; OutStreamer.AddComment("trap"); OutStreamer.EmitIntValue(Val, 4); return; @@ -1740,8 +1740,8 @@ void ARMAsmPrinter::printInstructionThroughMCStreamer(const MachineInstr *MI) { // Non-Darwin binutils don't yet support the "trap" mnemonic. // FIXME: Remove this special case when they do. if (!Subtarget->isTargetDarwin()) { - //.long 0xe7ffdefe ${:comment} trap - uint32_t Val = 0xdefe; + //.short 57086 ${:comment} trap + uint16_t Val = 0xdefe; OutStreamer.AddComment("trap"); OutStreamer.EmitIntValue(Val, 2); return; |