[llvm-commits] [llvm] r86097 - /llvm/trunk/include/llvm/CodeGen/SlotIndexes.h
Lang Hames
lhames at gmail.com
Wed Nov 4 17:18:32 PST 2009
Author: lhames
Date: Wed Nov 4 19:18:31 2009
New Revision: 86097
URL: http://llvm.org/viewvc/llvm-project?rev=86097&view=rev
Log:
Tidied some ugliness in the SlotIndex default constructor.
Modified:
llvm/trunk/include/llvm/CodeGen/SlotIndexes.h
Modified: llvm/trunk/include/llvm/CodeGen/SlotIndexes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SlotIndexes.h?rev=86097&r1=86096&r2=86097&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SlotIndexes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SlotIndexes.h Wed Nov 4 19:18:31 2009
@@ -159,7 +159,7 @@
}
/// 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.
More information about the llvm-commits
mailing list