diff options
Diffstat (limited to 'llvm/lib/MC/MCCodeView.cpp')
-rw-r--r-- | llvm/lib/MC/MCCodeView.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCCodeView.cpp b/llvm/lib/MC/MCCodeView.cpp index aec8fc8..a27ef64 100644 --- a/llvm/lib/MC/MCCodeView.cpp +++ b/llvm/lib/MC/MCCodeView.cpp @@ -649,8 +649,6 @@ void CodeViewContext::encodeDefRange(MCAsmLayout &Layout, const MCSymbolRefExpr *SRE = MCSymbolRefExpr::create(RangeBegin, Ctx); const MCBinaryExpr *BE = MCBinaryExpr::createAdd(SRE, MCConstantExpr::create(Bias, Ctx), Ctx); - MCValue Res; - BE->evaluateAsRelocatable(Res, &Layout, /*Fixup=*/nullptr); // Each record begins with a 2-byte number indicating how large the record // is. |