From c6cff9daf4ffd38b01ac79f6f6be752e0be4c704 Mon Sep 17 00:00:00 2001 From: Chad Rosier Date: Wed, 14 Dec 2011 00:29:31 +0000 Subject: Per discussion on the list, remove BitcodeVerify pass to reimplement as a free function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146531 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Bitcode/ReaderWriter.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'include/llvm/Bitcode') diff --git a/include/llvm/Bitcode/ReaderWriter.h b/include/llvm/Bitcode/ReaderWriter.h index 4f86303..fa754c0 100644 --- a/include/llvm/Bitcode/ReaderWriter.h +++ b/include/llvm/Bitcode/ReaderWriter.h @@ -60,12 +60,8 @@ namespace llvm { /// createBitcodeWriterPass - Create and return a pass that writes the module /// to the specified ostream. ModulePass *createBitcodeWriterPass(raw_ostream &Str); - - /// createBitcodeVerifierPass - Create a pass that writes a module to disk and - /// then reads the module back in to verify bitcode serialization and - /// deserialization. - ModulePass *createBitcodeVerifierPass(raw_ostream &Str); - + + /// isBitcodeWrapper - Return true if the given bytes are the magic bytes /// for an LLVM IR bitcode wrapper. /// -- cgit v1.1