From 2600ca8b3f3602d0904289eeed3d26f3d7aad2ae Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Tue, 25 Aug 2009 21:25:22 +0000 Subject: re-committing yesterday's r79938. This time there is no additional include of llvm/Config/config.h at all. Instead I use a hard-coded preprecessor symbol: LLVM_COMPACTIFY_SENTINELS (should this work on the self-hosting buildbot, then cleanups come next) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80035 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/BasicBlock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/llvm/BasicBlock.h') diff --git a/include/llvm/BasicBlock.h b/include/llvm/BasicBlock.h index 3ba4e360f7..16f680d243 100644 --- a/include/llvm/BasicBlock.h +++ b/include/llvm/BasicBlock.h @@ -47,7 +47,7 @@ template<> struct ilist_traits Instruction *ensureHead(Instruction*) const { return createSentinel(); } static void noteHead(Instruction*, Instruction*) {} private: - mutable ilist_node Sentinel; + mutable ILIST_NODE Sentinel; }; /// This represents a single basic block in LLVM. A basic block is simply a -- cgit v1.2.3