DebugInfo: Ensure that all debug location scope chains from instructions within a...
[oota-llvm.git] / lib / CodeGen / LexicalScopes.cpp
index f67c717d4e412915b0a9ef0ba443c33a285db226..b621e3baee513ee37eb8d8343b53e65cbbc55540 100644 (file)
@@ -290,7 +290,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)