From 79d55f5c1f9b268b57d481c022463105e04d3c9d Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 5 Dec 2013 20:02:18 +0000 Subject: 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. llvm-svn: 196528 --- llvm/lib/CodeGen/MachineBlockPlacement.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp') diff --git a/llvm/lib/CodeGen/MachineBlockPlacement.cpp b/llvm/lib/CodeGen/MachineBlockPlacement.cpp index b725bfb49c8..7eec164f148 100644 --- a/llvm/lib/CodeGen/MachineBlockPlacement.cpp +++ b/llvm/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 FunctionBlockSetType; DEBUG({ // Crash at the end so we get all of the debugging output first. bool BadFunc = false; -- cgit v1.2.3