aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/DataStructure/DSNode.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Analysis/DataStructure/DSNode.h')
-rw-r--r--include/llvm/Analysis/DataStructure/DSNode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Analysis/DataStructure/DSNode.h b/include/llvm/Analysis/DataStructure/DSNode.h
index 2d707153e1..27e1a5077c 100644
--- a/include/llvm/Analysis/DataStructure/DSNode.h
+++ b/include/llvm/Analysis/DataStructure/DSNode.h
@@ -369,8 +369,8 @@ struct ilist_traits<DSNode> {
static void setPrev(DSNode *N, DSNode *Prev) { N->Prev = Prev; }
static void setNext(DSNode *N, DSNode *Next) { N->Next = Next; }
- static DSNode *createSentinal() { return new DSNode(0,0); }
- static void destroySentinal(DSNode *N) { delete N; }
+ static DSNode *createSentinel() { return new DSNode(0,0); }
+ static void destroySentinel(DSNode *N) { delete N; }
//static DSNode *createNode(const DSNode &V) { return new DSNode(V); }