From 41509f42617b4b9daf6f4cb870a3390d566d9c01 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 25 Mar 2015 00:45:41 +0000 Subject: [PATCH] Fix warning on non-assert build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233158 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/MC/MCAssembler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/MC/MCAssembler.cpp b/lib/MC/MCAssembler.cpp index 5243facbe4e..6ba66762177 100644 --- a/lib/MC/MCAssembler.cpp +++ b/lib/MC/MCAssembler.cpp @@ -1056,6 +1056,7 @@ bool MCAssembler::relaxDwarfLineAddr(MCAsmLayout &Layout, 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::relaxDwarfCallFrameFragment(MCAsmLayout &Layout, 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); -- 2.34.1