aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2009-11-05 01:18:31 +0000
committerLang Hames <lhames@gmail.com>2009-11-05 01:18:31 +0000
commit090780be1c94163ad7cb9368fdb1b23714b2518e (patch)
treef402e78e2d00b5db8489bad45248270f54289ca0
parent517e2556e39973ae65f58fad9865eef3a5a0966b (diff)
downloadexternal_llvm-090780be1c94163ad7cb9368fdb1b23714b2518e.zip
external_llvm-090780be1c94163ad7cb9368fdb1b23714b2518e.tar.gz
external_llvm-090780be1c94163ad7cb9368fdb1b23714b2518e.tar.bz2
Tidied some ugliness in the SlotIndex default constructor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86097 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/SlotIndexes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SlotIndexes.h b/include/llvm/CodeGen/SlotIndexes.h
index 1d02e06..a179725 100644
--- a/include/llvm/CodeGen/SlotIndexes.h
+++ b/include/llvm/CodeGen/SlotIndexes.h
@@ -159,7 +159,7 @@ namespace llvm {
}
/// Construct an invalid index.
- SlotIndex() : lie(&getEmptyKey().entry(), 0) {}
+ SlotIndex() : lie(IndexListEntry::getEmptyKeyEntry(), 0) {}
// Construct a new slot index from the given one, set the phi flag on the
// new index to the value of the phi parameter.