Revision: 8469
Author:   [email protected]
Date:     Wed Jun 29 06:40:23 2011
Log:      Temporarily add more test output to help locate test failure

[email protected]

BUG=none
TEST=none

Review URL: http://codereview.chromium.org//7250002
http://code.google.com/p/v8/source/detail?r=8469

Modified:
 /branches/bleeding_edge/src/arm/disasm-arm.cc
 /branches/bleeding_edge/test/cctest/test-compiler.cc

=======================================
--- /branches/bleeding_edge/src/arm/disasm-arm.cc       Thu May 12 07:44:49 2011
+++ /branches/bleeding_edge/src/arm/disasm-arm.cc       Wed Jun 29 06:40:23 2011
@@ -992,6 +992,7 @@
             Format(instr, "bfi'cond 'rd, 'rm, 'f");
           }
         } else {
+          PrintF("%08x\n", instr->InstructionBits());
           UNREACHABLE();
         }
       } else {
=======================================
--- /branches/bleeding_edge/test/cctest/test-compiler.cc Wed May 11 07:16:24 2011 +++ /branches/bleeding_edge/test/cctest/test-compiler.cc Wed Jun 29 06:40:23 2011
@@ -367,6 +367,9 @@
   disasm::Disassembler d(name_converter);

   if (f->code()->kind() == Code::FUNCTION) {
+#ifdef DEBUG
+    f->code()->PrintLn();
+#endif
     Address pc = f->code()->instruction_start();
     int decode_size =
         Min(f->code()->instruction_size(),
@@ -375,6 +378,7 @@

     v8::internal::EmbeddedVector<char, 128> decode_buffer;
     while (pc < end) {
+      PrintF("%08x\n", reinterpret_cast<intptr_t>(pc));
       pc += d.InstructionDecode(decode_buffer, pc);
       CHECK(strstr(decode_buffer.start(), "mov eax,0x178c29c") == NULL);
       CHECK(strstr(decode_buffer.start(), "push 0x178c29c") == NULL);

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to