summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBInstruction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBInstruction.cpp')
-rw-r--r--lldb/source/API/SBInstruction.cpp7
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);
+}
OpenPOWER on IntegriCloud