diff options
| author | Philip Reames <listmail@philipreames.com> | 2015-04-02 05:02:16 +0000 |
|---|---|---|
| committer | Philip Reames <listmail@philipreames.com> | 2015-04-02 05:02:16 +0000 |
| commit | 4692f363060eb2ac09e0b7ba285a9e2b5ae99529 (patch) | |
| tree | 67499e173102703f820715b43c3c0d757a847d14 | |
| parent | 2df7827c75050abac450bee10edeb53d24f715a7 (diff) | |
| download | bcm5719-llvm-4692f363060eb2ac09e0b7ba285a9e2b5ae99529.tar.gz bcm5719-llvm-4692f363060eb2ac09e0b7ba285a9e2b5ae99529.zip | |
[gcroot] Remove unused items from an enum
These two were never implemented for gcroot, so there's no point in keeping them around now.
llvm-svn: 233892
| -rw-r--r-- | llvm/include/llvm/CodeGen/GCStrategy.h | 6 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/GCMetadata.cpp | 4 |
2 files changed, 3 insertions, 7 deletions
diff --git a/llvm/include/llvm/CodeGen/GCStrategy.h b/llvm/include/llvm/CodeGen/GCStrategy.h index 869f8888d01..a1b8e895898 100644 --- a/llvm/include/llvm/CodeGen/GCStrategy.h +++ b/llvm/include/llvm/CodeGen/GCStrategy.h @@ -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. }; diff --git a/llvm/lib/CodeGen/GCMetadata.cpp b/llvm/lib/CodeGen/GCMetadata.cpp index a2c5fce2013..16cd9e83b4a 100644 --- a/llvm/lib/CodeGen/GCMetadata.cpp +++ b/llvm/lib/CodeGen/GCMetadata.cpp @@ -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: |

