summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2013-12-05 20:02:18 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2013-12-05 20:02:18 +0000
commitd4deecd3c7de196068fb2d869dc4497d31c813dd (patch)
tree7c312eab8e6a58f06618602b2e308bbd45107bbb /lib
parent5024536352f8473e3b3115361e0e78ed22f873d5 (diff)
downloadllvm-d4deecd3c7de196068fb2d869dc4497d31c813dd.tar.gz
llvm-d4deecd3c7de196068fb2d869dc4497d31c813dd.tar.bz2
llvm-d4deecd3c7de196068fb2d869dc4497d31c813dd.tar.xz
Revert part of GCC warning fix to fix debug build.
The typedef is used inside the DEBUG(), and apparently can't be moved inside of it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196528 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/MachineBlockPlacement.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/MachineBlockPlacement.cpp b/lib/CodeGen/MachineBlockPlacement.cpp
index b725bfb49c..7eec164f14 100644
--- a/lib/CodeGen/MachineBlockPlacement.cpp
+++ b/lib/CodeGen/MachineBlockPlacement.cpp
@@ -949,6 +949,7 @@ void MachineBlockPlacement::buildCFGChains(MachineFunction &F) {
BlockChain &FunctionChain = *BlockToChain[&F.front()];
buildChain(&F.front(), FunctionChain, BlockWorkList);
+ typedef SmallPtrSet<MachineBasicBlock *, 16> FunctionBlockSetType;
DEBUG({
// Crash at the end so we get all of the debugging output first.
bool BadFunc = false;