diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-08-17 23:47:00 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-08-17 23:47:00 +0000 |
commit | 5229cfd1638705a7dbf668a840c6015f6b3ecbc6 (patch) | |
tree | 6386075afc3c37ab8378d2c8873a0172b000a847 /llvm/lib/CodeGen/LexicalScopes.cpp | |
parent | 3a1623f5e4478edf2ff6a50eb5a7cade0087c6e9 (diff) | |
download | bcm5719-llvm-5229cfd1638705a7dbf668a840c6015f6b3ecbc6.tar.gz bcm5719-llvm-5229cfd1638705a7dbf668a840c6015f6b3ecbc6.zip |
Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needing to mention the size.
llvm-svn: 215868
Diffstat (limited to 'llvm/lib/CodeGen/LexicalScopes.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LexicalScopes.cpp | 2 |
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) |