#include "config.h"
#include "JSType.h"
#include <wtf/PrintStream.h>
namespace WTF {
class PrintStream;
#define CASE(__type) \
case JSC::__type: \
out.print(#__type); \
return;
void printInternal(PrintStream& out, JSC::JSType type)
{
switch (type) {
CASE(CellType)
CASE(StringType)
CASE(SymbolType)
CASE(BigIntType)
CASE(CustomGetterSetterType)
CASE(APIValueWrapperType)
CASE(ProgramExecutableType)
CASE(ModuleProgramExecutableType)
CASE(EvalExecutableType)
CASE(FunctionExecutableType)
CASE(UnlinkedFunctionExecutableType)
CASE(UnlinkedProgramCodeBlockType)
CASE(UnlinkedModuleProgramCodeBlockType)
CASE(UnlinkedEvalCodeBlockType)
CASE(UnlinkedFunctionCodeBlockType)
CASE(CodeBlockType)
CASE(JSFixedArrayType)
CASE(JSImmutableButterflyType)
CASE(JSSourceCodeType)
CASE(JSScriptFetcherType)
CASE(JSScriptFetchParametersType)
CASE(ObjectType)
CASE(FinalObjectType)
CASE(JSCalleeType)
CASE(JSFunctionType)
CASE(InternalFunctionType)
CASE(NumberObjectType)
CASE(ErrorInstanceType)
CASE(PureForwardingProxyType)
CASE(ImpureProxyType)
CASE(DirectArgumentsType)
CASE(ScopedArgumentsType)
CASE(ClonedArgumentsType)
CASE(ArrayType)
CASE(DerivedArrayType)
CASE(ArrayBufferType)
CASE(Int8ArrayType)
CASE(Uint8ArrayType)
CASE(Uint8ClampedArrayType)
CASE(Int16ArrayType)
CASE(Uint16ArrayType)
CASE(Int32ArrayType)
CASE(Uint32ArrayType)
CASE(Float32ArrayType)
CASE(Float64ArrayType)
CASE(DataViewType)
CASE(GetterSetterType)
CASE(GlobalObjectType)
CASE(GlobalLexicalEnvironmentType)
CASE(LexicalEnvironmentType)
CASE(ModuleEnvironmentType)
CASE(StrictEvalActivationType)
CASE(WithScopeType)
CASE(RegExpObjectType)
CASE(ProxyObjectType)
CASE(JSMapType)
CASE(JSSetType)
CASE(JSWeakMapType)
CASE(JSWeakSetType)
CASE(WebAssemblyToJSCalleeType)
CASE(StringObjectType)
CASE(MaxJSType)
}
}
#undef CASE
}