diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-23 21:36:09 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-23 21:36:09 +0000 |
commit | b9f25f9e19a3557336d2794eb0ef5ef4fac63b94 (patch) | |
tree | 634231700ae8e5a49e71e039fac6bac13901fadd /llvm/tools/llvm-as/llvm-as.cpp | |
parent | 47a309c5caec9c5d04985279656af325a96d3398 (diff) | |
download | bcm5719-llvm-b9f25f9e19a3557336d2794eb0ef5ef4fac63b94.tar.gz bcm5719-llvm-b9f25f9e19a3557336d2794eb0ef5ef4fac63b94.zip |
eliminate the ostream version of CheckBitcodeOutputToConsole,
change the raw_ostream one to take the raw_ostream byref instead
of byptr. Prune #includes, eliminate a use of Streams.h
llvm-svn: 79863
Diffstat (limited to 'llvm/tools/llvm-as/llvm-as.cpp')
-rw-r--r-- | llvm/tools/llvm-as/llvm-as.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-as/llvm-as.cpp b/llvm/tools/llvm-as/llvm-as.cpp index 06b3ad254ee..487e9049006 100644 --- a/llvm/tools/llvm-as/llvm-as.cpp +++ b/llvm/tools/llvm-as/llvm-as.cpp @@ -114,7 +114,7 @@ int main(int argc, char **argv) { sys::RemoveFileOnSignal(sys::Path(OutputFilename)); if (!DisableOutput) - if (Force || !CheckBitcodeOutputToConsole(Out.get(), true)) + if (Force || !CheckBitcodeOutputToConsole(*Out, true)) WriteBitcodeToFile(M.get(), *Out); return 0; } |