Eliminate std::vectors from the bcanalyzer interface.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33978 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Bytecode/Reader/Reader.h b/lib/Bytecode/Reader/Reader.h
index b881f9d..5fec59e 100644
--- a/lib/Bytecode/Reader/Reader.h
+++ b/lib/Bytecode/Reader/Reader.h
@@ -22,8 +22,8 @@
#include "llvm/Function.h"
#include "llvm/ModuleProvider.h"
#include "llvm/Bytecode/Analyzer.h"
+#include "llvm/ADT/SmallVector.h"
#include <utility>
-#include <map>
#include <setjmp.h>
namespace llvm {
@@ -228,7 +228,7 @@
/// @brief Parse a single instruction.
void ParseInstruction(
- std::vector<unsigned>& Args, ///< The arguments to be filled in
+ SmallVector <unsigned, 8>& Args, ///< The arguments to be filled in
BasicBlock* BB ///< The BB the instruction goes in
);