[DynInst_API:] [PATCH] Avoid producing excess output while running aarch64 tests


Date: Sun, 01 May 2016 17:40:55 -0400
From: Peter Foley <pefoley2@xxxxxxxxxxx>
Subject: [DynInst_API:] [PATCH] Avoid producing excess output while running aarch64 tests
Signed-off-by: Peter Foley <pefoley2@xxxxxxxxxxx>
---
 src/instruction/aarch64_decode.C      | 2 +-
 src/instruction/aarch64_decode_ldst.C | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/instruction/aarch64_decode.C b/src/instruction/aarch64_decode.C
index ba12255..7c22d62 100644
--- a/src/instruction/aarch64_decode.C
+++ b/src/instruction/aarch64_decode.C
@@ -218,7 +218,7 @@ test_results_t aarch64_decode_Mutator::executeTest()
     i = d.decode();
     decodedInsns.push_back(i);
     if(i != NULL)
-		cout<<decodedInsns.back()->format()<<endl;
+      decodedInsns.back()->format();
   }
   while(i && i->isValid());
 
diff --git a/src/instruction/aarch64_decode_ldst.C b/src/instruction/aarch64_decode_ldst.C
index 4fa5989..bcf73ad 100644
--- a/src/instruction/aarch64_decode_ldst.C
+++ b/src/instruction/aarch64_decode_ldst.C
@@ -274,7 +274,7 @@ test_results_t aarch64_decode_ldst_Mutator::executeTest()
     i = d.decode();
     decodedInsns.push_back(i);
     if(i != NULL)
-        cout<< i->format()<<endl;
+        i->format();
   }
   while(i && i->isValid());
 
-- 
2.8.2

[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [PATCH] Avoid producing excess output while running aarch64 tests, Peter Foley <=