diff options
| author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-05-24 08:28:08 +0000 |
|---|---|---|
| committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-05-24 08:28:08 +0000 |
| commit | a4e969f4965059196ca948db781e52f7cfebf19e (patch) | |
| tree | 6ca352808c8fdc52006a0f33f6ae3c593b23867d /Source/JavaScriptCore/dfg/DFGValueSource.cpp | |
| parent | 41386e9cb918eed93b3f13648cbef387e371e451 (diff) | |
| download | WebKitGtk-tarball-a4e969f4965059196ca948db781e52f7cfebf19e.tar.gz | |
webkitgtk-2.12.3webkitgtk-2.12.3
Diffstat (limited to 'Source/JavaScriptCore/dfg/DFGValueSource.cpp')
| -rw-r--r-- | Source/JavaScriptCore/dfg/DFGValueSource.cpp | 24 |
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) |
