#include "config.h"
#include "DFGUseKind.h"
#if ENABLE(DFG_JIT)
#include "JSCInlines.h"
namespace WTF {
using namespace JSC::DFG;
void printInternal(PrintStream& out, UseKind useKind)
{
switch (useKind) {
case UntypedUse:
out.print("Untyped");
break;
case Int32Use:
out.print("Int32");
break;
case KnownInt32Use:
out.print("KnownInt32");
break;
case Int52RepUse:
out.print("Int52Rep");
break;
case MachineIntUse:
out.print("MachineInt");
break;
case NumberUse:
out.print("Number");
break;
case DoubleRepUse:
out.print("DoubleRep");
break;
case DoubleRepRealUse:
out.print("DoubleRepReal");
break;
case DoubleRepMachineIntUse:
out.print("DoubleRepMachineInt");
break;
case BooleanUse:
out.print("Boolean");
break;
case CellUse:
out.print("Cell");
break;
case KnownCellUse:
out.print("KnownCell");
break;
case ObjectUse:
out.print("Object");
break;
case FinalObjectUse:
out.print("FinalObject");
break;
case ObjectOrOtherUse:
out.print("ObjectOrOther");
break;
case StringIdentUse:
out.print("StringIdent");
break;
case StringUse:
out.print("String");
break;
case KnownStringUse:
out.print("KnownString");
break;
case StringObjectUse:
out.print("StringObject");
break;
case StringOrStringObjectUse:
out.print("StringOrStringObject");
break;
case NotStringVarUse:
out.print("NotStringVar");
break;
case NotCellUse:
out.print("NotCell");
break;
case OtherUse:
out.print("Other");
break;
case MiscUse:
out.print("Misc");
break;
default:
RELEASE_ASSERT_NOT_REACHED();
break;
}
}
}
#endif // ENABLE(DFG_JIT)