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 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@251 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
1aa48bb98f
commit
195a57b59b
@ -3221,7 +3221,8 @@ static Object* Runtime_DebugPrint(Arguments args) {
|
||||
}
|
||||
args[0]->Print();
|
||||
#else
|
||||
PrintF("DebugPrint: %p", args[0]);
|
||||
// ShortPrint is available in release mode. Print is not.
|
||||
args[0]->ShortPrint();
|
||||
#endif
|
||||
PrintF("\n");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user