diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-04-21 20:27:45 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-04-21 20:27:45 +0000 |
commit | ea80ba8b9746ca1f6a5e250fefaa54bf37a943a1 (patch) | |
tree | 360ac2ca45d89e6568e10667f867e8a3194c1f26 /lldb/source/API/SBInstruction.cpp | |
parent | be22131c28bc64727456fa9f53e1e9e8e02dd237 (diff) | |
download | bcm5719-llvm-ea80ba8b9746ca1f6a5e250fefaa54bf37a943a1.tar.gz bcm5719-llvm-ea80ba8b9746ca1f6a5e250fefaa54bf37a943a1.zip |
Use self.TraceOn() API to decide whether to print debug output.
llvm-svn: 129935
Diffstat (limited to 'lldb/source/API/SBInstruction.cpp')
-rw-r--r-- | lldb/source/API/SBInstruction.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lldb/source/API/SBInstruction.cpp b/lldb/source/API/SBInstruction.cpp index 4e5b4e2edc6..920ce3c60a6 100644 --- a/lldb/source/API/SBInstruction.cpp +++ b/lldb/source/API/SBInstruction.cpp @@ -155,8 +155,5 @@ SBInstruction::TestEmulation (lldb::SBStream &output_stream, const char *test_f if (!m_opaque_sp.get()) m_opaque_sp.reset (new PseudoInstruction()); - bool success = m_opaque_sp->TestEmulation (output_stream.get(), test_file); - if (output_stream.GetSize() > 0) - fprintf (stdout, "%s", output_stream.GetData()); - return success; -}
\ No newline at end of file + return m_opaque_sp->TestEmulation (output_stream.get(), test_file); +} |