aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode/Reader/Reader.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-02-07 05:08:39 +0000
committerChris Lattner <sabre@nondot.org>2007-02-07 05:08:39 +0000
commit63cf59ed3fc65486fb0108edfae0a7b76137a724 (patch)
treebcc3b938ffe73159107fa3edafa11d9e40330bc7 /lib/Bytecode/Reader/Reader.h
parent4d544cd646440fb99131206d6f074fa32dc308dc (diff)
Eliminate std::vectors from the bcanalyzer interface.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33978 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Reader/Reader.h')
-rw-r--r--lib/Bytecode/Reader/Reader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Bytecode/Reader/Reader.h b/lib/Bytecode/Reader/Reader.h
index b881f9d0a5..5fec59e378 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 @@ protected:
/// @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
);