summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/dfg/DFGOSRExitCompiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/dfg/DFGOSRExitCompiler.cpp')
-rw-r--r--Source/JavaScriptCore/dfg/DFGOSRExitCompiler.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/Source/JavaScriptCore/dfg/DFGOSRExitCompiler.cpp b/Source/JavaScriptCore/dfg/DFGOSRExitCompiler.cpp
index c65443e29..5d2155cba 100644
--- a/Source/JavaScriptCore/dfg/DFGOSRExitCompiler.cpp
+++ b/Source/JavaScriptCore/dfg/DFGOSRExitCompiler.cpp
@@ -32,6 +32,7 @@
#include "DFGCommon.h"
#include "LinkBuffer.h"
#include "RepatchBuffer.h"
+#include <wtf/StringPrintStream.h>
namespace JSC { namespace DFG {
@@ -81,7 +82,10 @@ void compileOSRExit(ExecState* exec)
recovery = &codeBlock->speculationRecovery(exit.m_recoveryIndex - 1);
#if DFG_ENABLE(DEBUG_VERBOSE)
- dataLogF("Generating OSR exit #%u (seq#%u, bc#%u, @%u, %s) for code block %p.\n", exitIndex, exit.m_streamIndex, exit.m_codeOrigin.bytecodeIndex, exit.m_nodeIndex, exitKindToString(exit.m_kind), codeBlock);
+ dataLog(
+ "Generating OSR exit #", exitIndex, " (seq#", exit.m_streamIndex,
+ ", bc#", exit.m_codeOrigin.bytecodeIndex, ", @", exit.m_nodeIndex, ", ",
+ exitKindToString(exit.m_kind), ") for ", *codeBlock, ".\n");
#endif
{
@@ -95,9 +99,9 @@ void compileOSRExit(ExecState* exec)
exit.m_code = FINALIZE_CODE_IF(
shouldShowDisassembly(),
patchBuffer,
- ("DFG OSR exit #%u (bc#%u, @%u, %s) from CodeBlock %p",
- exitIndex, exit.m_codeOrigin.bytecodeIndex, exit.m_nodeIndex,
- exitKindToString(exit.m_kind), codeBlock));
+ ("DFG OSR exit #%u (bc#%u, @%u, %s) from %s",
+ exitIndex, exit.m_codeOrigin.bytecodeIndex, exit.m_nodeIndex,
+ exitKindToString(exit.m_kind), toCString(*codeBlock).data()));
}
{