summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-05-12 13:34:25 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-05-12 13:34:25 +0000
commit8285b778f432e80693619d8763b3b6bd4e942e12 (patch)
tree765c6e5087dd876d62458bf88bd7cbdf5e97300a /llvm/lib/MC
parent7f4ccced49926e4d5a7225e89c22cf420ec9f387 (diff)
downloadbcm5719-llvm-8285b778f432e80693619d8763b3b6bd4e942e12.tar.gz
bcm5719-llvm-8285b778f432e80693619d8763b3b6bd4e942e12.zip
Remove always true argument.
llvm-svn: 208558
Diffstat (limited to 'llvm/lib/MC')
-rw-r--r--llvm/lib/MC/MCDwarf.cpp4
-rw-r--r--llvm/lib/MC/MCStreamer.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/MC/MCDwarf.cpp b/llvm/lib/MC/MCDwarf.cpp
index 7481e45c596..aca483d6d54 100644
--- a/llvm/lib/MC/MCDwarf.cpp
+++ b/llvm/lib/MC/MCDwarf.cpp
@@ -1480,12 +1480,12 @@ namespace llvm {
}
void MCDwarfFrameEmitter::Emit(MCStreamer &Streamer, MCAsmBackend *MAB,
- bool UsingCFI, bool IsEH) {
+ bool IsEH) {
Streamer.generateCompactUnwindEncodings(MAB);
MCContext &Context = Streamer.getContext();
const MCObjectFileInfo *MOFI = Context.getObjectFileInfo();
- FrameEmitterImpl Emitter(UsingCFI, IsEH);
+ FrameEmitterImpl Emitter(true, IsEH);
ArrayRef<MCDwarfFrameInfo> FrameArray = Streamer.getFrameInfos();
// Emit the compact unwind info if available.
diff --git a/llvm/lib/MC/MCStreamer.cpp b/llvm/lib/MC/MCStreamer.cpp
index d9bfac9ddf4..a5c20340c4a 100644
--- a/llvm/lib/MC/MCStreamer.cpp
+++ b/llvm/lib/MC/MCStreamer.cpp
@@ -620,10 +620,10 @@ void MCStreamer::EmitFrames(MCAsmBackend *MAB) {
return;
if (EmitEHFrame)
- MCDwarfFrameEmitter::Emit(*this, MAB, true, true);
+ MCDwarfFrameEmitter::Emit(*this, MAB, true);
if (EmitDebugFrame)
- MCDwarfFrameEmitter::Emit(*this, MAB, true, false);
+ MCDwarfFrameEmitter::Emit(*this, MAB, false);
}
void MCStreamer::EmitW64Tables() {
OpenPOWER on IntegriCloud