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/DFGUseKind.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/DFGUseKind.cpp')
-rw-r--r-- | Source/JavaScriptCore/dfg/DFGUseKind.cpp | 96 |
1 files changed, 72 insertions, 24 deletions
diff --git a/Source/JavaScriptCore/dfg/DFGUseKind.cpp b/Source/JavaScriptCore/dfg/DFGUseKind.cpp index bfba754b7..502a1472e 100644 --- a/Source/JavaScriptCore/dfg/DFGUseKind.cpp +++ b/Source/JavaScriptCore/dfg/DFGUseKind.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013 Apple Inc. All rights reserved. + * Copyright (C) 2013-2016 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 WTF { using namespace JSC::DFG; @@ -37,59 +39,105 @@ void printInternal(PrintStream& out, UseKind useKind) switch (useKind) { case UntypedUse: out.print("Untyped"); - break; + return; case Int32Use: out.print("Int32"); - break; + return; case KnownInt32Use: out.print("KnownInt32"); - break; - case RealNumberUse: - out.print("RealNumber"); - break; + return; + case Int52RepUse: + out.print("Int52Rep"); + return; + case MachineIntUse: + out.print("MachineInt"); + return; case NumberUse: out.print("Number"); - break; - case KnownNumberUse: - out.print("KnownNumber"); - break; + return; + case RealNumberUse: + out.print("RealNumber"); + return; + case DoubleRepUse: + out.print("DoubleRep"); + return; + case DoubleRepRealUse: + out.print("DoubleRepReal"); + return; + case DoubleRepMachineIntUse: + out.print("DoubleRepMachineInt"); + return; case BooleanUse: out.print("Boolean"); - break; + return; + case KnownBooleanUse: + out.print("KnownBoolean"); + return; case CellUse: out.print("Cell"); - break; + return; case KnownCellUse: out.print("KnownCell"); - break; + return; + case CellOrOtherUse: + out.print("CellOrOther"); + return; case ObjectUse: out.print("Object"); - break; + return; + case FunctionUse: + out.print("Function"); + return; + case FinalObjectUse: + out.print("FinalObject"); + return; + case RegExpObjectUse: + out.print("RegExpObject"); + return; case ObjectOrOtherUse: out.print("ObjectOrOther"); - break; + return; + case StringIdentUse: + out.print("StringIdent"); + return; case StringUse: out.print("String"); - break; + return; + case StringOrOtherUse: + out.print("StringOrOther"); + return; case KnownStringUse: out.print("KnownString"); - break; + return; + case KnownPrimitiveUse: + out.print("KnownPrimitive"); + return; + case SymbolUse: + out.print("Symbol"); + return; case StringObjectUse: out.print("StringObject"); - break; + return; case StringOrStringObjectUse: out.print("StringOrStringObject"); - break; + return; + case NotStringVarUse: + out.print("NotStringVar"); + return; case NotCellUse: out.print("NotCell"); - break; + return; case OtherUse: out.print("Other"); - break; - default: + return; + case MiscUse: + out.print("Misc"); + return; + case LastUseKind: RELEASE_ASSERT_NOT_REACHED(); - break; + return; } + RELEASE_ASSERT_NOT_REACHED(); } } // namespace WTF |