summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LexicalScopes.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-08-21 05:55:13 +0000
committerCraig Topper <craig.topper@gmail.com>2014-08-21 05:55:13 +0000
commit71b7b68b741a29c473479c64dbaca00b94e316ab (patch)
treea58f96876f8c68648a8dfc5b536685dc5890c041 /llvm/lib/CodeGen/LexicalScopes.cpp
parent5d1aeba2ea7ff1976b85a57d0591b97fd6e33ae0 (diff)
downloadbcm5719-llvm-71b7b68b741a29c473479c64dbaca00b94e316ab.tar.gz
bcm5719-llvm-71b7b68b741a29c473479c64dbaca00b94e316ab.zip
Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needing to mention the size.
llvm-svn: 216158
Diffstat (limited to 'llvm/lib/CodeGen/LexicalScopes.cpp')
-rw-r--r--llvm/lib/CodeGen/LexicalScopes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LexicalScopes.cpp b/llvm/lib/CodeGen/LexicalScopes.cpp
index d12c234bf3b..4600b2943c9 100644
--- a/llvm/lib/CodeGen/LexicalScopes.cpp
+++ b/llvm/lib/CodeGen/LexicalScopes.cpp
@@ -285,7 +285,7 @@ void LexicalScopes::assignInstructionRanges(
/// have machine instructions that belong to lexical scope identified by
/// DebugLoc.
void LexicalScopes::getMachineBasicBlocks(
- DebugLoc DL, SmallPtrSet<const MachineBasicBlock *, 4> &MBBs) {
+ DebugLoc DL, SmallPtrSetImpl<const MachineBasicBlock *> &MBBs) {
MBBs.clear();
LexicalScope *Scope = getOrCreateLexicalScope(DL);
if (!Scope)
OpenPOWER on IntegriCloud