Skip to content

Commit 9b186d7

Browse files
committed
Address comments
1 parent 4f1d8d4 commit 9b186d7

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

llvm/include/llvm/CodeGen/FunctionLoweringInfo.h

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,6 @@ class FunctionLoweringInfo {
183183
std::vector<std::pair<MachineInstr*, unsigned> > PHINodesToUpdate;
184184
unsigned OrigNumPHINodesToUpdate;
185185

186-
/// \name Exception Handling
187-
/// \{
188-
189186
/// If the current MBB is a landing pad, the exception pointer and exception
190187
/// selector registers are copied into these virtual registers by
191188
/// SelectionDAGISel::PrepareEHLandingPad().
@@ -199,12 +196,6 @@ class FunctionLoweringInfo {
199196
// -g. At this moment, there's no way to specify that some CFI directives
200197
// go into .eh_frame only, while others go into .debug_frame only.
201198

202-
/// Set the call site currently being processed.
203-
void setCurrentCallSite(unsigned Site) { CurCallSite = Site; }
204-
205-
/// Get the call site currently being processed, if any. Return zero if none.
206-
unsigned getCurrentCallSite() { return CurCallSite; }
207-
208199
/// Collection of dbg.declare instructions handled after argument
209200
/// lowering and before ISel proper.
210201
SmallPtrSet<const DbgDeclareInst *, 8> PreprocessedDbgDeclares;
@@ -298,6 +289,12 @@ class FunctionLoweringInfo {
298289
Register getCatchPadExceptionPointerVReg(const Value *CPI,
299290
const TargetRegisterClass *RC);
300291

292+
/// Set the call site currently being processed.
293+
void setCurrentCallSite(unsigned Site) { CurCallSite = Site; }
294+
295+
/// Get the call site currently being processed, if any. Return zero if none.
296+
unsigned getCurrentCallSite() { return CurCallSite; }
297+
301298
private:
302299
/// LiveOutRegInfo - Information about live out vregs.
303300
IndexedMap<LiveOutInfo, VirtReg2IndexFunctor> LiveOutRegInfo;

0 commit comments

Comments
 (0)