Pass a vector around to reduce dynamic allocation
Throw the RawInst class in an anon namespace
llvm-svn: 8990
diff --git a/llvm/lib/Bytecode/Reader/ReaderInternals.h b/llvm/lib/Bytecode/Reader/ReaderInternals.h
index 1fefe23..2d75a32 100644
--- a/llvm/lib/Bytecode/Reader/ReaderInternals.h
+++ b/llvm/lib/Bytecode/Reader/ReaderInternals.h
@@ -149,7 +149,8 @@
unsigned BlockNo);
Instruction *ParseInstruction(const unsigned char *&Buf,
- const unsigned char *End);
+ const unsigned char *End,
+ std::vector<unsigned> &Args);
void ParseConstantPool(const unsigned char *&Buf, const unsigned char *EndBuf,
ValueTable &Tab, TypeValuesListTy &TypeTab);