diff options
author | Gabor Greif <ggreif@gmail.com> | 2009-08-25 21:25:22 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2009-08-25 21:25:22 +0000 |
commit | 2600ca8b3f3602d0904289eeed3d26f3d7aad2ae (patch) | |
tree | 9d0789506d76005f253ca4003a85d2537aa6d88e /include/llvm/CodeGen/MachineFunction.h | |
parent | 0adcd35f78b89bf70eb634b7f9ac2103516ca2b2 (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/CodeGen/MachineFunction.h')
-rw-r--r-- | include/llvm/CodeGen/MachineFunction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h index 38c7a5f762..5fca29f7dc 100644 --- a/include/llvm/CodeGen/MachineFunction.h +++ b/include/llvm/CodeGen/MachineFunction.h @@ -38,7 +38,7 @@ class TargetRegisterClass; template <> struct ilist_traits<MachineBasicBlock> : public ilist_default_traits<MachineBasicBlock> { - mutable ilist_node<MachineBasicBlock> Sentinel; + mutable ILIST_NODE<MachineBasicBlock> Sentinel; public: MachineBasicBlock *createSentinel() const { return static_cast<MachineBasicBlock*>(&Sentinel); |