summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/dfg/DFGFlushedAt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/dfg/DFGFlushedAt.cpp')
-rw-r--r--Source/JavaScriptCore/dfg/DFGFlushedAt.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/JavaScriptCore/dfg/DFGFlushedAt.cpp b/Source/JavaScriptCore/dfg/DFGFlushedAt.cpp
index ce95f45d5..c15a2e6b0 100644
--- a/Source/JavaScriptCore/dfg/DFGFlushedAt.cpp
+++ b/Source/JavaScriptCore/dfg/DFGFlushedAt.cpp
@@ -28,14 +28,18 @@
#if ENABLE(DFG_JIT)
+#include "JSCInlines.h"
+
namespace JSC { namespace DFG {
void FlushedAt::dump(PrintStream& out) const
{
if (m_format == DeadFlush || m_format == ConflictingFlush)
out.print(m_format);
+ else if (m_virtualRegister.isValid())
+ out.print(m_virtualRegister, ":", m_format);
else
- out.print("r", m_virtualRegister, ":", m_format);
+ out.print(m_format);
}
void FlushedAt::dumpInContext(PrintStream& out, DumpContext*) const