[llvm-commits] [poolalloc] r74722 - /poolalloc/trunk/tools/Pa/pa.cpp
Haohui Mai
mai4 at uiuc.edu
Thu Jul 2 13:08:08 PDT 2009
Author: mai4
Date: Thu Jul 2 15:07:57 2009
New Revision: 74722
URL: http://llvm.org/viewvc/llvm-project?rev=74722&view=rev
Log:
Confront with latest LLVM API by turning a pointer into a reference
Modified:
poolalloc/trunk/tools/Pa/pa.cpp
Modified: poolalloc/trunk/tools/Pa/pa.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/tools/Pa/pa.cpp?rev=74722&r1=74721&r2=74722&view=diff
==============================================================================
--- poolalloc/trunk/tools/Pa/pa.cpp (original)
+++ poolalloc/trunk/tools/Pa/pa.cpp Thu Jul 2 15:07:57 2009
@@ -79,7 +79,7 @@
std::string ErrorMessage;
if (MemoryBuffer *Buffer
= MemoryBuffer::getFileOrSTDIN(InputFilename, &ErrorMessage)) {
- M.reset(ParseBitcodeFile(Buffer, &Context, &ErrorMessage));
+ M.reset(ParseBitcodeFile(Buffer, Context, &ErrorMessage));
delete Buffer;
}
More information about the llvm-commits
mailing list