summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-extract/llvm-extract.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-01 21:22:36 +0000
committerOwen Anderson <resistor@mac.com>2009-07-01 21:22:36 +0000
commit1cf085d558fd73f2599fb68e600365dd20502e2b (patch)
tree39bfcf795980a39bd173e8cbc60962da057bbd9d /llvm/tools/llvm-extract/llvm-extract.cpp
parent52337414b78f00aa7ff498e5872fd428996e8fe5 (diff)
downloadbcm5719-llvm-1cf085d558fd73f2599fb68e600365dd20502e2b.tar.gz
bcm5719-llvm-1cf085d558fd73f2599fb68e600365dd20502e2b.zip
Hold the LLVMContext by reference rather than by pointer.
llvm-svn: 74640
Diffstat (limited to 'llvm/tools/llvm-extract/llvm-extract.cpp')
-rw-r--r--llvm/tools/llvm-extract/llvm-extract.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-extract/llvm-extract.cpp b/llvm/tools/llvm-extract/llvm-extract.cpp
index a9772116c9f..af0cf0705bf 100644
--- a/llvm/tools/llvm-extract/llvm-extract.cpp
+++ b/llvm/tools/llvm-extract/llvm-extract.cpp
@@ -73,7 +73,7 @@ int main(int argc, char **argv) {
cerr << argv[0] << ": Error reading file '" + InputFilename + "'\n";
return 1;
} else {
- M.reset(ParseBitcodeFile(Buffer, &Context));
+ M.reset(ParseBitcodeFile(Buffer, Context));
}
delete Buffer;
OpenPOWER on IntegriCloud