aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2007-08-22 15:40:58 +0000
committerTed Kremenek <kremenek@apple.com>2007-08-22 15:40:58 +0000
commit4a2b8a10c4730eb2ceeec24505bef26eb7d829ed (patch)
tree604fabe0e7dcf7bdd364c0f885541e5395ae989a
parentf9bcf01f82dfd2688f81e57bcc6300c9b13c51a6 (diff)
Changed data structure recording the CFG blocks that need to be backpatched
to labeled blocks from a list to a vector. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41274 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--AST/CFG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/AST/CFG.cpp b/AST/CFG.cpp
index 98a207476c..8a981222d8 100644
--- a/AST/CFG.cpp
+++ b/AST/CFG.cpp
@@ -60,7 +60,7 @@ class CFGBuilder : public StmtVisitor<CFGBuilder,CFGBlock*> {
typedef llvm::DenseMap<LabelStmt*,CFGBlock*> LabelMapTy;
LabelMapTy LabelMap;
- typedef std::list<CFGBlock*> BackpatchBlocksTy;
+ typedef std::vector<CFGBlock*> BackpatchBlocksTy;
BackpatchBlocksTy BackpatchBlocks;
public: