From: Jim Grosbach Date: Thu, 23 Sep 2010 19:32:40 +0000 (+0000) Subject: Fix opcode value for the 'trap' instruction, keeping the type suffix on the X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=24e6f2f802e43af0e3c72ed17fa73e3bc101dc9e;p=oota-llvm.git Fix opcode value for the 'trap' instruction, keeping the type suffix on the constant. Hopefully the non-Darwin bots will like it... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114687 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMAsmPrinter.cpp b/lib/Target/ARM/ARMAsmPrinter.cpp index 72d34b92b36..2f2c6e3c818 100644 --- a/lib/Target/ARM/ARMAsmPrinter.cpp +++ b/lib/Target/ARM/ARMAsmPrinter.cpp @@ -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 = 0xe7ffdefeUL; + uint32_t Val = 0xe7ffdefeeUL; OutStreamer.AddComment("trap"); OutStreamer.EmitIntValue(Val, 4); return;