Remove always true argument.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208558 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2014-05-12 13:34:25 +00:00
parent 044302d718
commit f4a9638884
3 changed files with 5 additions and 6 deletions

View File

@ -485,8 +485,7 @@ public:
//
// This emits the frame info section.
//
static void Emit(MCStreamer &streamer, MCAsmBackend *MAB,
bool usingCFI, bool isEH);
static void Emit(MCStreamer &streamer, MCAsmBackend *MAB, bool isEH);
static void EmitAdvanceLoc(MCStreamer &Streamer, uint64_t AddrDelta);
static void EncodeAdvanceLoc(MCContext &Context, uint64_t AddrDelta,
raw_ostream &OS);

View File

@ -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.

View File

@ -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() {