summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/dfg/DFGValueSource.cpp
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/JavaScriptCore/dfg/DFGValueSource.cpp
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/JavaScriptCore/dfg/DFGValueSource.cpp')
-rw-r--r--Source/JavaScriptCore/dfg/DFGValueSource.cpp24
1 files changed, 14 insertions, 10 deletions
diff --git a/Source/JavaScriptCore/dfg/DFGValueSource.cpp b/Source/JavaScriptCore/dfg/DFGValueSource.cpp
index 51cf78847..41d8b475a 100644
--- a/Source/JavaScriptCore/dfg/DFGValueSource.cpp
+++ b/Source/JavaScriptCore/dfg/DFGValueSource.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2012 Apple Inc. All rights reserved.
+ * Copyright (C) 2012, 2014, 2015 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -28,6 +28,8 @@
#if ENABLE(DFG_JIT)
+#include "JSCInlines.h"
+
namespace JSC { namespace DFG {
void ValueSource::dump(PrintStream& out) const
@@ -40,25 +42,22 @@ void ValueSource::dump(PrintStream& out) const
out.print("IsDead");
break;
case ValueInJSStack:
- out.print("JS:r", virtualRegister());
+ out.print("JS:", virtualRegister());
break;
case Int32InJSStack:
- out.print("Int32:r", virtualRegister());
+ out.print("Int32:", virtualRegister());
break;
case Int52InJSStack:
- out.print("Int52:r", virtualRegister());
+ out.print("Int52:", virtualRegister());
break;
case CellInJSStack:
- out.print("Cell:r", virtualRegister());
+ out.print("Cell:", virtualRegister());
break;
case BooleanInJSStack:
- out.print("Bool:r", virtualRegister());
+ out.print("Bool:", virtualRegister());
break;
case DoubleInJSStack:
- out.print("Double:r", virtualRegister());
- break;
- case ArgumentsSource:
- out.print("Arguments");
+ out.print("Double:", virtualRegister());
break;
case HaveNode:
out.print("Node(", m_value, ")");
@@ -69,6 +68,11 @@ void ValueSource::dump(PrintStream& out) const
}
}
+void ValueSource::dumpInContext(PrintStream& out, DumpContext*) const
+{
+ dump(out);
+}
+
} } // namespace JSC::DFG
#endif // ENABLE(DFG_JIT)