summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMAsmBackend.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-10-25 17:50:35 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-10-25 17:50:35 +0000
commit0ed1543d4ea758a040288eeba7e72f1dcffea45a (patch)
tree6701090fefa727b8ac7265d865dcfa0b1d5fb3ac /llvm/lib/Target/ARM/ARMAsmBackend.cpp
parente5d0677173aa041f09b0d963eaf7c9ce10c4bc8d (diff)
downloadbcm5719-llvm-0ed1543d4ea758a040288eeba7e72f1dcffea45a.tar.gz
bcm5719-llvm-0ed1543d4ea758a040288eeba7e72f1dcffea45a.zip
Add support for emitting ARM file attributes.
llvm-svn: 117275
Diffstat (limited to 'llvm/lib/Target/ARM/ARMAsmBackend.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMAsmBackend.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMAsmBackend.cpp b/llvm/lib/Target/ARM/ARMAsmBackend.cpp
index 72f6e2b4ce7..4be02424752 100644
--- a/llvm/lib/Target/ARM/ARMAsmBackend.cpp
+++ b/llvm/lib/Target/ARM/ARMAsmBackend.cpp
@@ -55,12 +55,11 @@ void ARMAsmBackend::RelaxInstruction(const MCInst &Inst, MCInst &Res) const {
}
bool ARMAsmBackend::WriteNopData(uint64_t Count, MCObjectWriter *OW) const {
- assert(0 && "ARMAsmBackend::WriteNopData() unimplemented");
if ((Count % 4) != 0) {
// Fixme: % 2 for Thumb?
return false;
}
- return false;
+ return true;
}
} // end anonymous namespace
OpenPOWER on IntegriCloud