From 24e6f2f802e43af0e3c72ed17fa73e3bc101dc9e Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Thu, 23 Sep 2010 19:32:40 +0000 Subject: [PATCH] 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 --- lib/Target/ARM/ARMAsmPrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;