Reviewers: Søren Gjesse,

Message:
Please review this change.

Description:
This change makes the runtime function %DebugPrint()
print the content of strings in release build, rather
than just a pointer.  This lets test_shell print to stdout.


Please review this at http://codereview.chromium.org/1697

Affected files:
   M     src/runtime.cc


Index: src/runtime.cc
===================================================================
--- src/runtime.cc      (revision 250)
+++ src/runtime.cc      (working copy)
@@ -3221,7 +3221,8 @@
    }
    args[0]->Print();
  #else
-  PrintF("DebugPrint: %p", args[0]);
+  // ShortPrint is available in release mode. Print is not.
+  args[0]->ShortPrint();
  #endif
    PrintF("\n");




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

Reply via email to