diff options
author | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2017-05-30 12:48:17 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2017-05-30 12:48:17 +0200 |
commit | 881da28418d380042aa95a97f0cbd42560a64f7c (patch) | |
tree | a794dff3274695e99c651902dde93d934ea7a5af /Source/JavaScriptCore/dfg/DFGVariableEvent.cpp | |
parent | 7e104c57a70fdf551bb3d22a5d637cdcbc69dbea (diff) | |
parent | 0fcedcd17cc00d3dd44c718b3cb36c1033319671 (diff) | |
download | qtwebkit-881da28418d380042aa95a97f0cbd42560a64f7c.tar.gz |
Merge 'wip/next' into dev
Change-Id: Iff9ee5e23bb326c4371ec8ed81d56f2f05d680e9
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 |