mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
Unbreak build. Jim, please review.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114684 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8c1f4329e2
commit
c8ab9eb066
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user