diff options
author | Chris Lattner <sabre@nondot.org> | 2003-10-09 20:45:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-10-09 20:45:42 +0000 |
commit | 6fcf50338eb1ef3e6e290502faad855647ccf4ce (patch) | |
tree | beee058c1639b274eed2e54da61214c2eea153c8 /lib/Bytecode/Reader/ReaderInternals.h | |
parent | 342be126ef5355143e75471bf42c64ac6d939808 (diff) |
Pass a vector around to reduce dynamic allocation
Throw the RawInst class in an anon namespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8990 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Reader/ReaderInternals.h')
-rw-r--r-- | lib/Bytecode/Reader/ReaderInternals.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Bytecode/Reader/ReaderInternals.h b/lib/Bytecode/Reader/ReaderInternals.h index 1fefe23faf..2d75a32131 100644 --- a/lib/Bytecode/Reader/ReaderInternals.h +++ b/lib/Bytecode/Reader/ReaderInternals.h @@ -149,7 +149,8 @@ private: 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); |