aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Function.h
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2009-08-25 21:25:22 +0000
committerGabor Greif <ggreif@gmail.com>2009-08-25 21:25:22 +0000
commit2600ca8b3f3602d0904289eeed3d26f3d7aad2ae (patch)
tree9d0789506d76005f253ca4003a85d2537aa6d88e /include/llvm/Function.h
parent0adcd35f78b89bf70eb634b7f9ac2103516ca2b2 (diff)
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
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r--include/llvm/Function.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h
index 90d9b0ee46..6c3d41e21a 100644
--- a/include/llvm/Function.h
+++ b/include/llvm/Function.h
@@ -45,7 +45,7 @@ template<> struct ilist_traits<BasicBlock>
static ValueSymbolTable *getSymTab(Function *ItemParent);
private:
- mutable ilist_node<BasicBlock> Sentinel;
+ mutable ILIST_NODE<BasicBlock> Sentinel;
};
template<> struct ilist_traits<Argument>
@@ -62,7 +62,7 @@ template<> struct ilist_traits<Argument>
static ValueSymbolTable *getSymTab(Function *ItemParent);
private:
- mutable ilist_node<Argument> Sentinel;
+ mutable ILIST_NODE<Argument> Sentinel;
};
class Function : public GlobalValue,