[llvm] r233158 - Fix warning on non-assert build.
Rafael Espindola
rafael.espindola at gmail.com
Tue Mar 24 17:45:41 PDT 2015
Author: rafael
Date: Tue Mar 24 19:45:41 2015
New Revision: 233158
URL: http://llvm.org/viewvc/llvm-project?rev=233158&view=rev
Log:
Fix warning on non-assert build.
Modified:
llvm/trunk/lib/MC/MCAssembler.cpp
Modified: llvm/trunk/lib/MC/MCAssembler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCAssembler.cpp?rev=233158&r1=233157&r2=233158&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCAssembler.cpp (original)
+++ llvm/trunk/lib/MC/MCAssembler.cpp Tue Mar 24 19:45:41 2015
@@ -1056,6 +1056,7 @@ bool MCAssembler::relaxDwarfLineAddr(MCA
int64_t AddrDelta;
bool Abs = DF.getAddrDelta().evaluateKnownAbsolute(AddrDelta, Layout);
assert(Abs && "We created a line delta with an invalid expression");
+ (void) Abs;
int64_t LineDelta;
LineDelta = DF.getLineDelta();
SmallString<8> &Data = DF.getContents();
@@ -1073,6 +1074,7 @@ bool MCAssembler::relaxDwarfCallFrameFra
int64_t AddrDelta;
bool Abs = DF.getAddrDelta().evaluateKnownAbsolute(AddrDelta, Layout);
assert(Abs && "We created call frame with an invalid expression");
+ (void) Abs;
SmallString<8> &Data = DF.getContents();
Data.clear();
raw_svector_ostream OSE(Data);
More information about the llvm-commits
mailing list