diff options
author | Konstantin Tokarev <annulen@yandex.ru> | 2016-08-25 19:20:41 +0300 |
---|---|---|
committer | Konstantin Tokarev <annulen@yandex.ru> | 2017-02-02 12:30:55 +0000 |
commit | 6882a04fb36642862b11efe514251d32070c3d65 (patch) | |
tree | b7959826000b061fd5ccc7512035c7478742f7b0 /Source/JavaScriptCore/dfg/DFGVariableEvent.cpp | |
parent | ab6df191029eeeb0b0f16f127d553265659f739e (diff) | |
download | qtwebkit-6882a04fb36642862b11efe514251d32070c3d65.tar.gz |
Imported QtWebKit TP3 (git b57bc6801f1876c3220d5a4bfea33d620d477443)
Change-Id: I3b1d8a2808782c9f34d50240000e20cb38d3680f
Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
Diffstat (limited to 'Source/JavaScriptCore/dfg/DFGVariableEvent.cpp')
-rw-r--r-- | Source/JavaScriptCore/dfg/DFGVariableEvent.cpp | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/Source/JavaScriptCore/dfg/DFGVariableEvent.cpp b/Source/JavaScriptCore/dfg/DFGVariableEvent.cpp index efffb19ea..28e437fd5 100644 --- a/Source/JavaScriptCore/dfg/DFGVariableEvent.cpp +++ b/Source/JavaScriptCore/dfg/DFGVariableEvent.cpp @@ -28,8 +28,9 @@ #if ENABLE(DFG_JIT) -#include "DFGFPRInfo.h" -#include "DFGGPRInfo.h" +#include "FPRInfo.h" +#include "GPRInfo.h" +#include "JSCInlines.h" namespace JSC { namespace DFG { @@ -45,6 +46,9 @@ void VariableEvent::dump(PrintStream& out) const case BirthToSpill: dumpSpillInfo("BirthToSpill", out); break; + case Birth: + out.print("Birth(", id(), ")"); + break; case Fill: dumpFillInfo("Fill", out); break; @@ -55,10 +59,12 @@ void VariableEvent::dump(PrintStream& out) const out.print("Death(", id(), ")"); break; case MovHintEvent: - out.print("MovHint(", id(), ", r", operand(), ")"); + out.print("MovHint(", id(), ", ", bytecodeRegister(), ")"); break; case SetLocalEvent: - out.printf("SetLocal(r%d, %s)", operand(), dataFormatToString(dataFormat())); + out.print( + "SetLocal(machine:", machineRegister(), " -> bytecode:", bytecodeRegister(), + ", ", dataFormatToString(dataFormat()), ")"); break; default: RELEASE_ASSERT_NOT_REACHED(); @@ -82,7 +88,7 @@ void VariableEvent::dumpFillInfo(const char* name, PrintStream& out) const void VariableEvent::dumpSpillInfo(const char* name, PrintStream& out) const { - out.print(name, "(", id(), ", r", virtualRegister(), ", ", dataFormatToString(dataFormat()), ")"); + out.print(name, "(", id(), ", ", spillRegister(), ", ", dataFormatToString(dataFormat()), ")"); } } } // namespace JSC::DFG |