mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-16 16:37:42 +00:00
[gcroot] Remove unused items from an enum
These two were never implemented for gcroot, so there's no point in keeping them around now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233892 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c47a3ae7d5
commit
57bea4161b
@ -60,11 +60,11 @@
|
||||
|
||||
namespace llvm {
|
||||
namespace GC {
|
||||
/// PointKind - The type of a collector-safe point.
|
||||
/// PointKind - Used to indicate whether the address of the call instruction
|
||||
/// or the address after the call instruction is listed in the stackmap. For
|
||||
/// most runtimes, PostCall safepoints are appropriate.
|
||||
///
|
||||
enum PointKind {
|
||||
Loop, ///< Instr is a loop (backwards branch).
|
||||
Return, ///< Instr is a return instruction.
|
||||
PreCall, ///< Instr is a call instruction.
|
||||
PostCall ///< Instr is the return address of a call.
|
||||
};
|
||||
|
@ -99,10 +99,6 @@ void Printer::getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
|
||||
static const char *DescKind(GC::PointKind Kind) {
|
||||
switch (Kind) {
|
||||
case GC::Loop:
|
||||
return "loop";
|
||||
case GC::Return:
|
||||
return "return";
|
||||
case GC::PreCall:
|
||||
return "pre-call";
|
||||
case GC::PostCall:
|
||||
|
Loading…
Reference in New Issue
Block a user