[PATCH] D101155: [NFC] Delete the redundant member 'shouldEmitMoves' from DwarfCFIException class
Venkata Ramanaiah Nalamothu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 23 18:06:11 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG4e87fdd78643: [NFC] Delete the redundant member 'shouldEmitMoves' from DwarfCFIException class (authored by RamNalamothu).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101155/new/
https://reviews.llvm.org/D101155
Files:
llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfException.h
Index: llvm/lib/CodeGen/AsmPrinter/DwarfException.h
===================================================================
--- llvm/lib/CodeGen/AsmPrinter/DwarfException.h
+++ llvm/lib/CodeGen/AsmPrinter/DwarfException.h
@@ -44,9 +44,6 @@
/// Per-function flag to indicate if .cfi_lsda should be emitted.
bool shouldEmitLSDA;
- /// Per-function flag to indicate if frame moves info should be emitted.
- bool shouldEmitMoves;
-
public:
//===--------------------------------------------------------------------===//
// Main entry points.
Index: llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
===================================================================
--- llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
+++ llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
@@ -53,8 +53,7 @@
DwarfCFIException::DwarfCFIException(AsmPrinter *A)
: DwarfCFIExceptionBase(A), shouldEmitPersonality(false),
- forceEmitPersonality(false), shouldEmitLSDA(false),
- shouldEmitMoves(false) {}
+ forceEmitPersonality(false), shouldEmitLSDA(false) {}
DwarfCFIException::~DwarfCFIException() {}
@@ -87,7 +86,7 @@
}
void DwarfCFIException::beginFunction(const MachineFunction *MF) {
- shouldEmitMoves = shouldEmitPersonality = shouldEmitLSDA = false;
+ shouldEmitPersonality = shouldEmitLSDA = false;
const Function &F = MF->getFunction();
// If any landing pads survive, we need an EH table.
@@ -96,7 +95,7 @@
// See if we need frame move info.
AsmPrinter::CFIMoveType MoveType = Asm->needsCFIMoves();
- shouldEmitMoves = MoveType != AsmPrinter::CFI_M_None;
+ bool shouldEmitMoves = MoveType != AsmPrinter::CFI_M_None;
const TargetLoweringObjectFile &TLOF = Asm->getObjFileLowering();
unsigned PerEncoding = TLOF.getPersonalityEncoding();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101155.340216.patch
Type: text/x-patch
Size: 1796 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210424/82133298/attachment.bin>
More information about the llvm-commits
mailing list