From 0b12b5f50ec77a8bd01b92d287c52d748619bb4b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 25 Jun 2002 16:13:21 +0000 Subject: MEGAPATCH checkin. For details, See: docs/2002-06-25-MegaPatchInfo.txt git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2778 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Bytecode/Reader/Reader.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/Bytecode/Reader/Reader.cpp') diff --git a/lib/Bytecode/Reader/Reader.cpp b/lib/Bytecode/Reader/Reader.cpp index c4ab67f91b..f84ad565ca 100644 --- a/lib/Bytecode/Reader/Reader.cpp +++ b/lib/Bytecode/Reader/Reader.cpp @@ -18,7 +18,6 @@ #include "llvm/Constants.h" #include "llvm/iPHINode.h" #include "llvm/iOther.h" -#include "llvm/Argument.h" #include #include #include @@ -312,7 +311,7 @@ bool BytecodeParser::ParseMethod(const uchar *&Buf, const uchar *EndBuf, delete M; return failure(true); // Parse error... :( } - M->getBasicBlocks().push_back(BB); + M->getBasicBlockList().push_back(BB); break; } @@ -368,7 +367,7 @@ bool BytecodeParser::ParseMethod(const uchar *&Buf, const uchar *EndBuf, // If the method is empty, we don't need the method argument entries... if (M->isExternal()) - M->getArgumentList().delete_all(); + M->getArgumentList().clear(); DeclareNewGlobalValue(M, MethSlot); -- cgit v1.2.3-18-g5258