Author: whessev8
Date: Wed Sep 10 03:32:33 2008
New Revision: 251

Modified:
    branches/bleeding_edge/src/runtime.cc

Log:
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.

Review URL: http://codereview.chromium.org/1697

Modified: branches/bleeding_edge/src/runtime.cc
==============================================================================
--- branches/bleeding_edge/src/runtime.cc       (original)
+++ branches/bleeding_edge/src/runtime.cc       Wed Sep 10 03:32:33 2008
@@ -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