Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qv4instr_moth_p.h File Reference

(32be536972cf57c30c084fc87a9f49a2d6010dac)

#include <private/qv4staticvalue_p.h>
#include <private/qv4compileddata_p.h>
#include <qendian.h>
Include dependency graph for qv4instr_moth_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QV4::Moth::StackSlot
union  QV4::Moth::Instr
struct  QV4::Moth::InstrInfo
struct  QV4::Moth::InstrMeta< N >
class  QV4::Moth::InstrData< InstrType >
struct  QV4::Moth::Instruction

Namespaces

namespace  QV4
namespace  QV4::CompiledData
namespace  QV4::Moth

Macros

#define INSTRUCTION(op, name, nargs, ...)
#define INSTR_Nop(op)
#define INSTR_Ret(op)
#define INSTR_Debug(op)
#define INSTR_LoadConst(op)
#define INSTR_LoadZero(op)
#define INSTR_LoadTrue(op)
#define INSTR_LoadFalse(op)
#define INSTR_LoadNull(op)
#define INSTR_LoadUndefined(op)
#define INSTR_LoadInt(op)
#define INSTR_MoveConst(op)
#define INSTR_LoadReg(op)
#define INSTR_StoreReg(op)
#define INSTR_MoveReg(op)
#define INSTR_LoadImport(op)
#define INSTR_LoadLocal(op)
#define INSTR_StoreLocal(op)
#define INSTR_LoadScopedLocal(op)
#define INSTR_StoreScopedLocal(op)
#define INSTR_LoadRuntimeString(op)
#define INSTR_MoveRegExp(op)
#define INSTR_LoadClosure(op)
#define INSTR_LoadName(op)
#define INSTR_LoadGlobalLookup(op)
#define INSTR_LoadQmlContextPropertyLookup(op)
#define INSTR_StoreNameSloppy(op)
#define INSTR_StoreNameStrict(op)
#define INSTR_LoadProperty(op)
#define INSTR_LoadOptionalProperty(op)
#define INSTR_GetLookup(op)
#define INSTR_GetOptionalLookup(op)
#define INSTR_Yield(op)
#define INSTR_YieldStar(op)
#define INSTR_Resume(op)
#define INSTR_IteratorNextForYieldStar(op)
#define INSTR_StoreProperty(op)
#define INSTR_SetLookup(op)
#define INSTR_LoadSuperProperty(op)
#define INSTR_StoreSuperProperty(op)
#define INSTR_LoadElement(op)
#define INSTR_StoreElement(op)
#define INSTR_CallValue(op)
#define INSTR_CallWithReceiver(op)
#define INSTR_CallProperty(op)
#define INSTR_CallPropertyLookup(op)
#define INSTR_CallName(op)
#define INSTR_CallPossiblyDirectEval(op)
#define INSTR_CallGlobalLookup(op)
#define INSTR_CallQmlContextPropertyLookup(op)
#define INSTR_CallWithSpread(op)
#define INSTR_Construct(op)
#define INSTR_ConstructWithSpread(op)
#define INSTR_SetUnwindHandler(op)
#define INSTR_UnwindDispatch(op)
#define INSTR_UnwindToLabel(op)
#define INSTR_DeadTemporalZoneCheck(op)
#define INSTR_ThrowException(op)
#define INSTR_GetException(op)
#define INSTR_SetException(op)
#define INSTR_CreateCallContext(op)
#define INSTR_PushCatchContext(op)
#define INSTR_PushWithContext(op)
#define INSTR_PushBlockContext(op)
#define INSTR_CloneBlockContext(op)
#define INSTR_PushScriptContext(op)
#define INSTR_PopScriptContext(op)
#define INSTR_PopContext(op)
#define INSTR_GetIterator(op)
#define INSTR_IteratorNext(op)
#define INSTR_IteratorClose(op)
#define INSTR_DestructureRestElement(op)
#define INSTR_DeleteProperty(op)
#define INSTR_DeleteName(op)
#define INSTR_TypeofName(op)
#define INSTR_TypeofValue(op)
#define INSTR_DeclareVar(op)
#define INSTR_DefineArray(op)
#define INSTR_DefineObjectLiteral(op)
#define INSTR_CreateClass(op)
#define INSTR_CreateMappedArgumentsObject(op)
#define INSTR_CreateUnmappedArgumentsObject(op)
#define INSTR_CreateRestParameter(op)
#define INSTR_ConvertThisToObject(op)
#define INSTR_LoadSuperConstructor(op)
#define INSTR_ToObject(op)
#define INSTR_Jump(op)
#define INSTR_JumpTrue(op)
#define INSTR_JumpFalse(op)
#define INSTR_JumpNotUndefined(op)
#define INSTR_JumpNoException(op)
#define INSTR_CheckException(op)
#define INSTR_CmpEqNull(op)
#define INSTR_CmpNeNull(op)
#define INSTR_CmpEqInt(op)
#define INSTR_CmpNeInt(op)
#define INSTR_CmpEq(op)
#define INSTR_CmpNe(op)
#define INSTR_CmpGt(op)
#define INSTR_CmpGe(op)
#define INSTR_CmpLt(op)
#define INSTR_CmpLe(op)
#define INSTR_CmpStrictEqual(op)
#define INSTR_CmpStrictNotEqual(op)
#define INSTR_CmpIn(op)
#define INSTR_CmpInstanceOf(op)
#define INSTR_UNot(op)
#define INSTR_UPlus(op)
#define INSTR_UMinus(op)
#define INSTR_UCompl(op)
#define INSTR_Increment(op)
#define INSTR_Decrement(op)
#define INSTR_Add(op)
#define INSTR_BitAnd(op)
#define INSTR_BitOr(op)
#define INSTR_BitXor(op)
#define INSTR_UShr(op)
#define INSTR_Shr(op)
#define INSTR_Shl(op)
#define INSTR_BitAndConst(op)
#define INSTR_BitOrConst(op)
#define INSTR_BitXorConst(op)
#define INSTR_UShrConst(op)
#define INSTR_ShrConst(op)
#define INSTR_ShlConst(op)
#define INSTR_Exp(op)
#define INSTR_Mul(op)
#define INSTR_Div(op)
#define INSTR_Mod(op)
#define INSTR_Sub(op)
#define INSTR_As(op)
#define INSTR_InitializeBlockDeadTemporalZone(op)
#define INSTR_ThrowOnNullOrUndefined(op)
#define INSTR_GetTemplateObject(op)
#define INSTR_TailCall(op)
#define FOR_EACH_MOTH_INSTR_ALL(F)
#define FOR_EACH_MOTH_INSTR(F)
#define MOTH_NUM_INSTRUCTIONS()
#define MOTH_INSTR_ALIGN_MASK   (alignof(QV4::Moth::Instr) - 1)
#define MOTH_INSTR_ENUM(I)
#define MOTH_INSTR_SIZE(I)
#define MOTH_EXPAND_FOR_MSVC(x)
#define MOTH_DEFINE_ARGS(nargs, ...)
#define MOTH_DEFINE_ARGS0()
#define MOTH_DEFINE_ARGS1(arg)
#define MOTH_DEFINE_ARGS2(arg1, arg2)
#define MOTH_DEFINE_ARGS3(arg1, arg2, arg3)
#define MOTH_DEFINE_ARGS4(arg1, arg2, arg3, arg4)
#define MOTH_DEFINE_ARGS5(arg1, arg2, arg3, arg4, arg5)
#define MOTH_COLLECT_ENUMS(instr)
#define MOTH_GET_ENUM_INSTRUCTION(name, ...)
#define MOTH_EMIT_STRUCTS(instr)
#define MOTH_EMIT_STRUCT_INSTRUCTION(name, nargs, ...)
#define MOTH_EMIT_INSTR_MEMBERS(instr)
#define MOTH_EMIT_INSTR_MEMBER_INSTRUCTION(name, nargs, ...)
#define MOTH_COLLECT_NARGS(instr)
#define MOTH_COLLECT_ARG_COUNT_INSTRUCTION(name, nargs, ...)
#define MOTH_DECODE_ARG(arg, type, nargs, offset)
#define MOTH_ADJUST_CODE(type, nargs)
#define MOTH_DECODE_INSTRUCTION(name, nargs, ...)
#define MOTH_DECODE_WITH_BASE_INSTRUCTION(name, nargs, ...)
#define MOTH_DECODE_ARGS(name, type, nargs, ...)
#define MOTH_DECODE_ARGS0(name, type, nargs, dummy)
#define MOTH_DECODE_ARGS1(name, type, nargs, arg)
#define MOTH_DECODE_ARGS2(name, type, nargs, arg1, arg2)
#define MOTH_DECODE_ARGS3(name, type, nargs, arg1, arg2, arg3)
#define MOTH_DECODE_ARGS4(name, type, nargs, arg1, arg2, arg3, arg4)
#define MOTH_DECODE_ARGS5(name, type, nargs, arg1, arg2, arg3, arg4, arg5)
#define MOTH_JUMP_TABLE
#define MOTH_INSTR_CASE_AND_JUMP(instr)
#define GET_CASE_AND_JUMP_INSTRUCTION(name, ...)
#define GET_CASE_AND_JUMP_WIDE_INSTRUCTION(name, ...)
#define MOTH_DISPATCH()
#define MOTH_INSTR_META_TEMPLATE(I)
#define MOTH_INSTR_DATA_TYPEDEF(I)

Functions

bool QV4::Moth::operator== (const StackSlot &l, const StackSlot &r)
bool QV4::Moth::operator!= (const StackSlot &l, const StackSlot &r)
QString QV4::Moth::dumpBytecode (const char *code, int len, int nLocals, int nFormals, int beginOffset, int endOffset, const QVector< CompiledData::CodeOffsetToLineAndStatement > &lineAndStatementNumberMapping)
QString QV4::Moth::dumpBytecode (const char *code, int len, int nLocals, int nFormals, int, const QVector< CompiledData::CodeOffsetToLineAndStatement > &lineAndStatementNumberMapping)
QString QV4::Moth::dumpBytecode (const QByteArray &bytecode, int nLocals, int nFormals, int startLine=1, const QVector< CompiledData::CodeOffsetToLineAndStatement > &lineAndStatementNumberMapping=QVector< CompiledData::CodeOffsetToLineAndStatement >())
 QV4::Moth::FOR_EACH_MOTH_INSTR_ALL (MOTH_INSTR_META_TEMPLATE)

Macro Definition Documentation

◆ FOR_EACH_MOTH_INSTR

#define FOR_EACH_MOTH_INSTR ( F)

Definition at line 167 of file qv4instr_moth_p.h.

◆ FOR_EACH_MOTH_INSTR_ALL

#define FOR_EACH_MOTH_INSTR_ALL ( F)
Value:
F(Nop) \
FOR_EACH_MOTH_INSTR(F)
#define F(x, y, z)

Definition at line 163 of file qv4instr_moth_p.h.

◆ GET_CASE_AND_JUMP_INSTRUCTION

#define GET_CASE_AND_JUMP_INSTRUCTION ( name,
... )
Value:
case Instr::Type::name: goto op_byte_##name;
EGLImageKHR EGLint * name

Definition at line 449 of file qv4instr_moth_p.h.

◆ GET_CASE_AND_JUMP_WIDE_INSTRUCTION

#define GET_CASE_AND_JUMP_WIDE_INSTRUCTION ( name,
... )
Value:
case Instr::Type::name##_Wide: goto op_int_##name;

Definition at line 451 of file qv4instr_moth_p.h.

◆ INSTR_Add

#define INSTR_Add ( op)
Value:
INSTRUCTION(op, Add, 1, lhs)
#define INSTRUCTION(op, name, nargs,...)

Definition at line 139 of file qv4instr_moth_p.h.

◆ INSTR_As

#define INSTR_As ( op)
Value:
INSTRUCTION(op, As, 1, lhs)

Definition at line 157 of file qv4instr_moth_p.h.

◆ INSTR_BitAnd

#define INSTR_BitAnd ( op)
Value:
INSTRUCTION(op, BitAnd, 1, lhs)

Definition at line 140 of file qv4instr_moth_p.h.

◆ INSTR_BitAndConst

#define INSTR_BitAndConst ( op)
Value:
INSTRUCTION(op, BitAndConst, 1, rhs)

Definition at line 146 of file qv4instr_moth_p.h.

◆ INSTR_BitOr

#define INSTR_BitOr ( op)
Value:
INSTRUCTION(op, BitOr, 1, lhs)

Definition at line 141 of file qv4instr_moth_p.h.

◆ INSTR_BitOrConst

#define INSTR_BitOrConst ( op)
Value:
INSTRUCTION(op, BitOrConst, 1, rhs)

Definition at line 147 of file qv4instr_moth_p.h.

◆ INSTR_BitXor

#define INSTR_BitXor ( op)
Value:
INSTRUCTION(op, BitXor, 1, lhs)

Definition at line 142 of file qv4instr_moth_p.h.

◆ INSTR_BitXorConst

#define INSTR_BitXorConst ( op)
Value:
INSTRUCTION(op, BitXorConst, 1, rhs)

Definition at line 148 of file qv4instr_moth_p.h.

◆ INSTR_CallGlobalLookup

#define INSTR_CallGlobalLookup ( op)
Value:
INSTRUCTION(op, CallGlobalLookup, 3, index, argc, argv)
GLuint index

Definition at line 75 of file qv4instr_moth_p.h.

◆ INSTR_CallName

#define INSTR_CallName ( op)
Value:
INSTRUCTION(op, CallName, 3, name, argc, argv)

Definition at line 73 of file qv4instr_moth_p.h.

◆ INSTR_CallPossiblyDirectEval

#define INSTR_CallPossiblyDirectEval ( op)
Value:
INSTRUCTION(op, CallPossiblyDirectEval, 2, argc, argv)

Definition at line 74 of file qv4instr_moth_p.h.

◆ INSTR_CallProperty

#define INSTR_CallProperty ( op)
Value:
INSTRUCTION(op, CallProperty, 4, name, base, argc, argv)
static const uint base
Definition qurlidna.cpp:21

Definition at line 71 of file qv4instr_moth_p.h.

◆ INSTR_CallPropertyLookup

#define INSTR_CallPropertyLookup ( op)
Value:
INSTRUCTION(op, CallPropertyLookup, 4, lookupIndex, base, argc, argv)

Definition at line 72 of file qv4instr_moth_p.h.

◆ INSTR_CallQmlContextPropertyLookup

#define INSTR_CallQmlContextPropertyLookup ( op)
Value:
INSTRUCTION(op, CallQmlContextPropertyLookup, 3, index, argc, argv)

Definition at line 76 of file qv4instr_moth_p.h.

◆ INSTR_CallValue

#define INSTR_CallValue ( op)
Value:
INSTRUCTION(op, CallValue, 3, name, argc, argv)

Definition at line 69 of file qv4instr_moth_p.h.

◆ INSTR_CallWithReceiver

#define INSTR_CallWithReceiver ( op)
Value:
INSTRUCTION(op, CallWithReceiver, 4, name, thisObject, argc, argv)

Definition at line 70 of file qv4instr_moth_p.h.

◆ INSTR_CallWithSpread

#define INSTR_CallWithSpread ( op)
Value:
INSTRUCTION(op, CallWithSpread, 4, func, thisObject, argc, argv)
GLenum func
Definition qopenglext.h:663

Definition at line 77 of file qv4instr_moth_p.h.

◆ INSTR_CheckException

#define INSTR_CheckException ( op)
Value:
INSTRUCTION(op, CheckException, 0)

Definition at line 118 of file qv4instr_moth_p.h.

◆ INSTR_CloneBlockContext

#define INSTR_CloneBlockContext ( op)
Value:
INSTRUCTION(op, CloneBlockContext, 0)

Definition at line 91 of file qv4instr_moth_p.h.

◆ INSTR_CmpEq

#define INSTR_CmpEq ( op)
Value:
INSTRUCTION(op, CmpEq, 1, lhs)

Definition at line 123 of file qv4instr_moth_p.h.

◆ INSTR_CmpEqInt

#define INSTR_CmpEqInt ( op)
Value:
INSTRUCTION(op, CmpEqInt, 1, lhs)

Definition at line 121 of file qv4instr_moth_p.h.

◆ INSTR_CmpEqNull

#define INSTR_CmpEqNull ( op)
Value:
INSTRUCTION(op, CmpEqNull, 0)

Definition at line 119 of file qv4instr_moth_p.h.

◆ INSTR_CmpGe

#define INSTR_CmpGe ( op)
Value:
INSTRUCTION(op, CmpGe, 1, lhs)

Definition at line 126 of file qv4instr_moth_p.h.

◆ INSTR_CmpGt

#define INSTR_CmpGt ( op)
Value:
INSTRUCTION(op, CmpGt, 1, lhs)

Definition at line 125 of file qv4instr_moth_p.h.

◆ INSTR_CmpIn

#define INSTR_CmpIn ( op)
Value:
INSTRUCTION(op, CmpIn, 1, lhs)

Definition at line 131 of file qv4instr_moth_p.h.

◆ INSTR_CmpInstanceOf

#define INSTR_CmpInstanceOf ( op)
Value:
INSTRUCTION(op, CmpInstanceOf, 1, lhs)

Definition at line 132 of file qv4instr_moth_p.h.

◆ INSTR_CmpLe

#define INSTR_CmpLe ( op)
Value:
INSTRUCTION(op, CmpLe, 1, lhs)

Definition at line 128 of file qv4instr_moth_p.h.

◆ INSTR_CmpLt

#define INSTR_CmpLt ( op)
Value:
INSTRUCTION(op, CmpLt, 1, lhs)

Definition at line 127 of file qv4instr_moth_p.h.

◆ INSTR_CmpNe

#define INSTR_CmpNe ( op)
Value:
INSTRUCTION(op, CmpNe, 1, lhs)

Definition at line 124 of file qv4instr_moth_p.h.

◆ INSTR_CmpNeInt

#define INSTR_CmpNeInt ( op)
Value:
INSTRUCTION(op, CmpNeInt, 1, lhs)

Definition at line 122 of file qv4instr_moth_p.h.

◆ INSTR_CmpNeNull

#define INSTR_CmpNeNull ( op)
Value:
INSTRUCTION(op, CmpNeNull, 0)

Definition at line 120 of file qv4instr_moth_p.h.

◆ INSTR_CmpStrictEqual

#define INSTR_CmpStrictEqual ( op)
Value:
INSTRUCTION(op, CmpStrictEqual, 1, lhs)

Definition at line 129 of file qv4instr_moth_p.h.

◆ INSTR_CmpStrictNotEqual

#define INSTR_CmpStrictNotEqual ( op)
Value:
INSTRUCTION(op, CmpStrictNotEqual, 1, lhs)

Definition at line 130 of file qv4instr_moth_p.h.

◆ INSTR_Construct

#define INSTR_Construct ( op)
Value:
INSTRUCTION(op, Construct, 3, func, argc, argv)

Definition at line 78 of file qv4instr_moth_p.h.

◆ INSTR_ConstructWithSpread

#define INSTR_ConstructWithSpread ( op)
Value:
INSTRUCTION(op, ConstructWithSpread, 3, func, argc, argv)

Definition at line 79 of file qv4instr_moth_p.h.

◆ INSTR_ConvertThisToObject

#define INSTR_ConvertThisToObject ( op)
Value:
INSTRUCTION(op, ConvertThisToObject, 0)

Definition at line 110 of file qv4instr_moth_p.h.

◆ INSTR_CreateCallContext

#define INSTR_CreateCallContext ( op)
Value:
INSTRUCTION(op, CreateCallContext, 0)

Definition at line 87 of file qv4instr_moth_p.h.

◆ INSTR_CreateClass

#define INSTR_CreateClass ( op)
Value:
INSTRUCTION(op, CreateClass, 3, classIndex, heritage, computedNames)

Definition at line 106 of file qv4instr_moth_p.h.

◆ INSTR_CreateMappedArgumentsObject

#define INSTR_CreateMappedArgumentsObject ( op)
Value:
INSTRUCTION(op, CreateMappedArgumentsObject, 0)

Definition at line 107 of file qv4instr_moth_p.h.

◆ INSTR_CreateRestParameter

#define INSTR_CreateRestParameter ( op)
Value:
INSTRUCTION(op, CreateRestParameter, 1, argIndex)

Definition at line 109 of file qv4instr_moth_p.h.

◆ INSTR_CreateUnmappedArgumentsObject

#define INSTR_CreateUnmappedArgumentsObject ( op)
Value:
INSTRUCTION(op, CreateUnmappedArgumentsObject, 0)

Definition at line 108 of file qv4instr_moth_p.h.

◆ INSTR_DeadTemporalZoneCheck

#define INSTR_DeadTemporalZoneCheck ( op)
Value:
INSTRUCTION(op, DeadTemporalZoneCheck, 1, name)

Definition at line 83 of file qv4instr_moth_p.h.

◆ INSTR_Debug

#define INSTR_Debug ( op)
Value:

Definition at line 30 of file qv4instr_moth_p.h.

◆ INSTR_DeclareVar

#define INSTR_DeclareVar ( op)
Value:
INSTRUCTION(op, DeclareVar, 2, varName, isDeletable)

Definition at line 103 of file qv4instr_moth_p.h.

◆ INSTR_Decrement

#define INSTR_Decrement ( op)
Value:
INSTRUCTION(op, Decrement, 0)

Definition at line 138 of file qv4instr_moth_p.h.

◆ INSTR_DefineArray

#define INSTR_DefineArray ( op)
Value:
INSTRUCTION(op, DefineArray, 2, argc, args)
QJSValueList args

Definition at line 104 of file qv4instr_moth_p.h.

◆ INSTR_DefineObjectLiteral

#define INSTR_DefineObjectLiteral ( op)
Value:
INSTRUCTION(op, DefineObjectLiteral, 3, internalClassId, argc, args)

Definition at line 105 of file qv4instr_moth_p.h.

◆ INSTR_DeleteName

#define INSTR_DeleteName ( op)
Value:
INSTRUCTION(op, DeleteName, 1, name)

Definition at line 100 of file qv4instr_moth_p.h.

◆ INSTR_DeleteProperty

#define INSTR_DeleteProperty ( op)
Value:
INSTRUCTION(op, DeleteProperty, 2, base, index)

Definition at line 99 of file qv4instr_moth_p.h.

◆ INSTR_DestructureRestElement

#define INSTR_DestructureRestElement ( op)
Value:
INSTRUCTION(op, DestructureRestElement, 0)

Definition at line 98 of file qv4instr_moth_p.h.

◆ INSTR_Div

#define INSTR_Div ( op)
Value:
INSTRUCTION(op, Div, 1, lhs)

Definition at line 154 of file qv4instr_moth_p.h.

◆ INSTR_Exp

#define INSTR_Exp ( op)
Value:
INSTRUCTION(op, Exp, 1, lhs)

Definition at line 152 of file qv4instr_moth_p.h.

◆ INSTR_GetException

#define INSTR_GetException ( op)
Value:
INSTRUCTION(op, GetException, 0)

Definition at line 85 of file qv4instr_moth_p.h.

◆ INSTR_GetIterator

#define INSTR_GetIterator ( op)
Value:
INSTRUCTION(op, GetIterator, 1, iterator)

Definition at line 95 of file qv4instr_moth_p.h.

◆ INSTR_GetLookup

#define INSTR_GetLookup ( op)
Value:
INSTRUCTION(op, GetLookup, 1, index)

Definition at line 57 of file qv4instr_moth_p.h.

◆ INSTR_GetOptionalLookup

#define INSTR_GetOptionalLookup ( op)
Value:
INSTRUCTION(op, GetOptionalLookup, 2, index, offset)
GLenum GLuint GLintptr offset

Definition at line 58 of file qv4instr_moth_p.h.

◆ INSTR_GetTemplateObject

#define INSTR_GetTemplateObject ( op)
Value:
INSTRUCTION(op, GetTemplateObject, 1, index)

Definition at line 160 of file qv4instr_moth_p.h.

◆ INSTR_Increment

#define INSTR_Increment ( op)
Value:
INSTRUCTION(op, Increment, 0)

Definition at line 137 of file qv4instr_moth_p.h.

◆ INSTR_InitializeBlockDeadTemporalZone

#define INSTR_InitializeBlockDeadTemporalZone ( op)
Value:
INSTRUCTION(op, InitializeBlockDeadTemporalZone, 2, firstReg, count)
GLenum GLenum GLsizei count

Definition at line 158 of file qv4instr_moth_p.h.

◆ INSTR_IteratorClose

#define INSTR_IteratorClose ( op)
Value:
INSTRUCTION(op, IteratorClose, 0)

Definition at line 97 of file qv4instr_moth_p.h.

◆ INSTR_IteratorNext

#define INSTR_IteratorNext ( op)
Value:
INSTRUCTION(op, IteratorNext, 2, value, offset)
EGLOutputLayerEXT EGLint EGLAttrib value
[3]

Definition at line 96 of file qv4instr_moth_p.h.

◆ INSTR_IteratorNextForYieldStar

#define INSTR_IteratorNextForYieldStar ( op)
Value:
INSTRUCTION(op, IteratorNextForYieldStar, 3, iterator, object, offset)

Definition at line 62 of file qv4instr_moth_p.h.

◆ INSTR_Jump

#define INSTR_Jump ( op)
Value:
INSTRUCTION(op, Jump, 1, offset)

Definition at line 113 of file qv4instr_moth_p.h.

◆ INSTR_JumpFalse

#define INSTR_JumpFalse ( op)
Value:
INSTRUCTION(op, JumpFalse, 1, offset)

Definition at line 115 of file qv4instr_moth_p.h.

◆ INSTR_JumpNoException

#define INSTR_JumpNoException ( op)
Value:
INSTRUCTION(op, JumpNoException, 1, offset)

Definition at line 117 of file qv4instr_moth_p.h.

◆ INSTR_JumpNotUndefined

#define INSTR_JumpNotUndefined ( op)
Value:
INSTRUCTION(op, JumpNotUndefined, 1, offset)

Definition at line 116 of file qv4instr_moth_p.h.

◆ INSTR_JumpTrue

#define INSTR_JumpTrue ( op)
Value:
INSTRUCTION(op, JumpTrue, 1, offset)

Definition at line 114 of file qv4instr_moth_p.h.

◆ INSTR_LoadClosure

#define INSTR_LoadClosure ( op)
Value:
INSTRUCTION(op, LoadClosure, 1, value)

Definition at line 49 of file qv4instr_moth_p.h.

◆ INSTR_LoadConst

#define INSTR_LoadConst ( op)
Value:
INSTRUCTION(op, LoadConst, 1, index)

Definition at line 31 of file qv4instr_moth_p.h.

◆ INSTR_LoadElement

#define INSTR_LoadElement ( op)
Value:
INSTRUCTION(op, LoadElement, 1, base)

Definition at line 67 of file qv4instr_moth_p.h.

◆ INSTR_LoadFalse

#define INSTR_LoadFalse ( op)
Value:
INSTRUCTION(op, LoadFalse, 0)

Definition at line 34 of file qv4instr_moth_p.h.

◆ INSTR_LoadGlobalLookup

#define INSTR_LoadGlobalLookup ( op)
Value:
INSTRUCTION(op, LoadGlobalLookup, 1, index)

Definition at line 51 of file qv4instr_moth_p.h.

◆ INSTR_LoadImport

#define INSTR_LoadImport ( op)
Value:
INSTRUCTION(op, LoadImport, 1, index)

Definition at line 42 of file qv4instr_moth_p.h.

◆ INSTR_LoadInt

#define INSTR_LoadInt ( op)
Value:
INSTRUCTION(op, LoadInt, 1, value)

Definition at line 37 of file qv4instr_moth_p.h.

◆ INSTR_LoadLocal

#define INSTR_LoadLocal ( op)
Value:
INSTRUCTION(op, LoadLocal, 1, index)

Definition at line 43 of file qv4instr_moth_p.h.

◆ INSTR_LoadName

#define INSTR_LoadName ( op)
Value:
INSTRUCTION(op, LoadName, 1, name)

Definition at line 50 of file qv4instr_moth_p.h.

◆ INSTR_LoadNull

#define INSTR_LoadNull ( op)
Value:
INSTRUCTION(op, LoadNull, 0)

Definition at line 35 of file qv4instr_moth_p.h.

◆ INSTR_LoadOptionalProperty

#define INSTR_LoadOptionalProperty ( op)
Value:
INSTRUCTION(op, LoadOptionalProperty, 2, name, offset)

Definition at line 56 of file qv4instr_moth_p.h.

◆ INSTR_LoadProperty

#define INSTR_LoadProperty ( op)
Value:
INSTRUCTION(op, LoadProperty, 1, name)

Definition at line 55 of file qv4instr_moth_p.h.

◆ INSTR_LoadQmlContextPropertyLookup

#define INSTR_LoadQmlContextPropertyLookup ( op)
Value:
INSTRUCTION(op, LoadQmlContextPropertyLookup, 1, index)

Definition at line 52 of file qv4instr_moth_p.h.

◆ INSTR_LoadReg

#define INSTR_LoadReg ( op)
Value:
INSTRUCTION(op, LoadReg, 1, reg)

Definition at line 39 of file qv4instr_moth_p.h.

◆ INSTR_LoadRuntimeString

#define INSTR_LoadRuntimeString ( op)
Value:
INSTRUCTION(op, LoadRuntimeString, 1, stringId)

Definition at line 47 of file qv4instr_moth_p.h.

◆ INSTR_LoadScopedLocal

#define INSTR_LoadScopedLocal ( op)
Value:
INSTRUCTION(op, LoadScopedLocal, 2, scope, index)

Definition at line 45 of file qv4instr_moth_p.h.

◆ INSTR_LoadSuperConstructor

#define INSTR_LoadSuperConstructor ( op)
Value:
INSTRUCTION(op, LoadSuperConstructor, 0)

Definition at line 111 of file qv4instr_moth_p.h.

◆ INSTR_LoadSuperProperty

#define INSTR_LoadSuperProperty ( op)
Value:
INSTRUCTION(op, LoadSuperProperty, 1, property)
const char property[13]
Definition qwizard.cpp:101

Definition at line 65 of file qv4instr_moth_p.h.

◆ INSTR_LoadTrue

#define INSTR_LoadTrue ( op)
Value:
INSTRUCTION(op, LoadTrue, 0)

Definition at line 33 of file qv4instr_moth_p.h.

◆ INSTR_LoadUndefined

#define INSTR_LoadUndefined ( op)
Value:
INSTRUCTION(op, LoadUndefined, 0)

Definition at line 36 of file qv4instr_moth_p.h.

◆ INSTR_LoadZero

#define INSTR_LoadZero ( op)
Value:
INSTRUCTION(op, LoadZero, 0)

Definition at line 32 of file qv4instr_moth_p.h.

◆ INSTR_Mod

#define INSTR_Mod ( op)
Value:
INSTRUCTION(op, Mod, 1, lhs)

Definition at line 155 of file qv4instr_moth_p.h.

◆ INSTR_MoveConst

#define INSTR_MoveConst ( op)
Value:
INSTRUCTION(op, MoveConst, 2, constIndex, destTemp)

Definition at line 38 of file qv4instr_moth_p.h.

◆ INSTR_MoveReg

#define INSTR_MoveReg ( op)
Value:
INSTRUCTION(op, MoveReg, 2, srcReg, destReg)

Definition at line 41 of file qv4instr_moth_p.h.

◆ INSTR_MoveRegExp

#define INSTR_MoveRegExp ( op)
Value:
INSTRUCTION(op, MoveRegExp, 2, regExpId, destReg)

Definition at line 48 of file qv4instr_moth_p.h.

◆ INSTR_Mul

#define INSTR_Mul ( op)
Value:
INSTRUCTION(op, Mul, 1, lhs)

Definition at line 153 of file qv4instr_moth_p.h.

◆ INSTR_Nop

#define INSTR_Nop ( op)
Value:
INSTRUCTION(op, Nop, 0)

Definition at line 28 of file qv4instr_moth_p.h.

◆ INSTR_PopContext

#define INSTR_PopContext ( op)
Value:
INSTRUCTION(op, PopContext, 0)

Definition at line 94 of file qv4instr_moth_p.h.

◆ INSTR_PopScriptContext

#define INSTR_PopScriptContext ( op)
Value:
INSTRUCTION(op, PopScriptContext, 0)

Definition at line 93 of file qv4instr_moth_p.h.

◆ INSTR_PushBlockContext

#define INSTR_PushBlockContext ( op)
Value:
INSTRUCTION(op, PushBlockContext, 1, index)

Definition at line 90 of file qv4instr_moth_p.h.

◆ INSTR_PushCatchContext

#define INSTR_PushCatchContext ( op)
Value:
INSTRUCTION(op, PushCatchContext, 2, index, name)

Definition at line 88 of file qv4instr_moth_p.h.

◆ INSTR_PushScriptContext

#define INSTR_PushScriptContext ( op)
Value:
INSTRUCTION(op, PushScriptContext, 1, index)

Definition at line 92 of file qv4instr_moth_p.h.

◆ INSTR_PushWithContext

#define INSTR_PushWithContext ( op)
Value:
INSTRUCTION(op, PushWithContext, 0)

Definition at line 89 of file qv4instr_moth_p.h.

◆ INSTR_Resume

#define INSTR_Resume ( op)
Value:
INSTRUCTION(op, Resume, 1, offset)

Definition at line 61 of file qv4instr_moth_p.h.

◆ INSTR_Ret

#define INSTR_Ret ( op)
Value:
INSTRUCTION(op, Ret, 0)

Definition at line 29 of file qv4instr_moth_p.h.

◆ INSTR_SetException

#define INSTR_SetException ( op)
Value:
INSTRUCTION(op, SetException, 0)

Definition at line 86 of file qv4instr_moth_p.h.

◆ INSTR_SetLookup

#define INSTR_SetLookup ( op)
Value:
INSTRUCTION(op, SetLookup, 2, index, base)

Definition at line 64 of file qv4instr_moth_p.h.

◆ INSTR_SetUnwindHandler

#define INSTR_SetUnwindHandler ( op)
Value:
INSTRUCTION(op, SetUnwindHandler, 1, offset)

Definition at line 80 of file qv4instr_moth_p.h.

◆ INSTR_Shl

#define INSTR_Shl ( op)
Value:
INSTRUCTION(op, Shl, 1, lhs)

Definition at line 145 of file qv4instr_moth_p.h.

◆ INSTR_ShlConst

#define INSTR_ShlConst ( op)
Value:
INSTRUCTION(op, ShlConst, 1, rhs)

Definition at line 151 of file qv4instr_moth_p.h.

◆ INSTR_Shr

#define INSTR_Shr ( op)
Value:
INSTRUCTION(op, Shr, 1, lhs)

Definition at line 144 of file qv4instr_moth_p.h.

◆ INSTR_ShrConst

#define INSTR_ShrConst ( op)
Value:
INSTRUCTION(op, ShrConst, 1, rhs)

Definition at line 150 of file qv4instr_moth_p.h.

◆ INSTR_StoreElement

#define INSTR_StoreElement ( op)
Value:
INSTRUCTION(op, StoreElement, 2, base, index)

Definition at line 68 of file qv4instr_moth_p.h.

◆ INSTR_StoreLocal

#define INSTR_StoreLocal ( op)
Value:
INSTRUCTION(op, StoreLocal, 1, index)

Definition at line 44 of file qv4instr_moth_p.h.

◆ INSTR_StoreNameSloppy

#define INSTR_StoreNameSloppy ( op)
Value:
INSTRUCTION(op, StoreNameSloppy, 1, name)

Definition at line 53 of file qv4instr_moth_p.h.

◆ INSTR_StoreNameStrict

#define INSTR_StoreNameStrict ( op)
Value:
INSTRUCTION(op, StoreNameStrict, 1, name)

Definition at line 54 of file qv4instr_moth_p.h.

◆ INSTR_StoreProperty

#define INSTR_StoreProperty ( op)
Value:
INSTRUCTION(op, StoreProperty, 2, name, base)

Definition at line 63 of file qv4instr_moth_p.h.

◆ INSTR_StoreReg

#define INSTR_StoreReg ( op)
Value:
INSTRUCTION(op, StoreReg, 1, reg)

Definition at line 40 of file qv4instr_moth_p.h.

◆ INSTR_StoreScopedLocal

#define INSTR_StoreScopedLocal ( op)
Value:
INSTRUCTION(op, StoreScopedLocal, 2, scope, index)

Definition at line 46 of file qv4instr_moth_p.h.

◆ INSTR_StoreSuperProperty

#define INSTR_StoreSuperProperty ( op)
Value:
INSTRUCTION(op, StoreSuperProperty, 1, property)

Definition at line 66 of file qv4instr_moth_p.h.

◆ INSTR_Sub

#define INSTR_Sub ( op)
Value:

Definition at line 156 of file qv4instr_moth_p.h.

◆ INSTR_TailCall

#define INSTR_TailCall ( op)
Value:
INSTRUCTION(op, TailCall, 4, func, thisObject, argc, argv)

Definition at line 161 of file qv4instr_moth_p.h.

◆ INSTR_ThrowException

#define INSTR_ThrowException ( op)
Value:
INSTRUCTION(op, ThrowException, 0)

Definition at line 84 of file qv4instr_moth_p.h.

◆ INSTR_ThrowOnNullOrUndefined

#define INSTR_ThrowOnNullOrUndefined ( op)
Value:
INSTRUCTION(op, ThrowOnNullOrUndefined, 0)

Definition at line 159 of file qv4instr_moth_p.h.

◆ INSTR_ToObject

#define INSTR_ToObject ( op)
Value:
INSTRUCTION(op, ToObject, 0)

Definition at line 112 of file qv4instr_moth_p.h.

◆ INSTR_TypeofName

#define INSTR_TypeofName ( op)
Value:
INSTRUCTION(op, TypeofName, 1, name)

Definition at line 101 of file qv4instr_moth_p.h.

◆ INSTR_TypeofValue

#define INSTR_TypeofValue ( op)
Value:
INSTRUCTION(op, TypeofValue, 0)

Definition at line 102 of file qv4instr_moth_p.h.

◆ INSTR_UCompl

#define INSTR_UCompl ( op)
Value:
INSTRUCTION(op, UCompl, 0)

Definition at line 136 of file qv4instr_moth_p.h.

◆ INSTR_UMinus

#define INSTR_UMinus ( op)
Value:
INSTRUCTION(op, UMinus, 0)

Definition at line 135 of file qv4instr_moth_p.h.

◆ INSTR_UNot

#define INSTR_UNot ( op)
Value:
INSTRUCTION(op, UNot, 0)

Definition at line 133 of file qv4instr_moth_p.h.

◆ INSTR_UnwindDispatch

#define INSTR_UnwindDispatch ( op)
Value:
INSTRUCTION(op, UnwindDispatch, 0)

Definition at line 81 of file qv4instr_moth_p.h.

◆ INSTR_UnwindToLabel

#define INSTR_UnwindToLabel ( op)
Value:
INSTRUCTION(op, UnwindToLabel, 2, level, offset)
GLenum GLuint GLint level

Definition at line 82 of file qv4instr_moth_p.h.

◆ INSTR_UPlus

#define INSTR_UPlus ( op)
Value:
INSTRUCTION(op, UPlus, 0)

Definition at line 134 of file qv4instr_moth_p.h.

◆ INSTR_UShr

#define INSTR_UShr ( op)
Value:
INSTRUCTION(op, UShr, 1, lhs)

Definition at line 143 of file qv4instr_moth_p.h.

◆ INSTR_UShrConst

#define INSTR_UShrConst ( op)
Value:
INSTRUCTION(op, UShrConst, 1, rhs)

Definition at line 149 of file qv4instr_moth_p.h.

◆ INSTR_Yield

#define INSTR_Yield ( op)
Value:
INSTRUCTION(op, Yield, 0)

Definition at line 59 of file qv4instr_moth_p.h.

◆ INSTR_YieldStar

#define INSTR_YieldStar ( op)
Value:
INSTRUCTION(op, YieldStar, 0)

Definition at line 60 of file qv4instr_moth_p.h.

◆ INSTRUCTION

#define INSTRUCTION ( op,
name,
nargs,
... )
Value:
op##_INSTRUCTION(name, nargs, __VA_ARGS__)

Definition at line 24 of file qv4instr_moth_p.h.

◆ MOTH_ADJUST_CODE

#define MOTH_ADJUST_CODE ( type,
nargs )
Value:
code += static_cast<quintptr>(nargs*sizeof(type) + 1)
GLenum type
size_t quintptr
Definition qtypes.h:185

Definition at line 368 of file qv4instr_moth_p.h.

◆ MOTH_COLLECT_ARG_COUNT_INSTRUCTION

#define MOTH_COLLECT_ARG_COUNT_INSTRUCTION ( name,
nargs,
... )
Value:
nargs, nargs,

Definition at line 363 of file qv4instr_moth_p.h.

◆ MOTH_COLLECT_ENUMS

#define MOTH_COLLECT_ENUMS ( instr)
Value:
INSTR_##instr(MOTH_GET_ENUM)

Definition at line 344 of file qv4instr_moth_p.h.

◆ MOTH_COLLECT_NARGS

#define MOTH_COLLECT_NARGS ( instr)
Value:
INSTR_##instr(MOTH_COLLECT_ARG_COUNT)

Definition at line 361 of file qv4instr_moth_p.h.

◆ MOTH_DECODE_ARG

#define MOTH_DECODE_ARG ( arg,
type,
nargs,
offset )
Value:
arg = qFromLittleEndian<type>(qFromUnaligned<type>(reinterpret_cast<const type *>(code) - nargs + offset));
constexpr T qFromLittleEndian(T source)
Definition qendian.h:178
Q_ALWAYS_INLINE T qFromUnaligned(const void *src)
\inmodule QtCore \title Endian Conversion Functions
Definition qendian.h:47
SSL_CTX int void * arg

Definition at line 366 of file qv4instr_moth_p.h.

◆ MOTH_DECODE_ARGS

#define MOTH_DECODE_ARGS ( name,
type,
nargs,
... )
Value:
MOTH_EXPAND_FOR_MSVC(MOTH_DECODE_ARGS##nargs(name, type, nargs, __VA_ARGS__))
#define MOTH_DECODE_ARGS(name, type, nargs,...)
#define MOTH_EXPAND_FOR_MSVC(x)

Definition at line 398 of file qv4instr_moth_p.h.

◆ MOTH_DECODE_ARGS0

#define MOTH_DECODE_ARGS0 ( name,
type,
nargs,
dummy )

Definition at line 401 of file qv4instr_moth_p.h.

◆ MOTH_DECODE_ARGS1

#define MOTH_DECODE_ARGS1 ( name,
type,
nargs,
arg )
Value:
MOTH_DECODE_ARG(arg, type, nargs, 0);
#define MOTH_DECODE_ARG(arg, type, nargs, offset)

Definition at line 402 of file qv4instr_moth_p.h.

◆ MOTH_DECODE_ARGS2

#define MOTH_DECODE_ARGS2 ( name,
type,
nargs,
arg1,
arg2 )
Value:
MOTH_DECODE_ARG(arg2, type, nargs, 1);
GLuint GLuint GLuint GLuint arg1
GLuint GLuint GLuint GLuint GLuint GLuint GLuint arg2
#define MOTH_DECODE_ARGS1(name, type, nargs, arg)

Definition at line 404 of file qv4instr_moth_p.h.

◆ MOTH_DECODE_ARGS3

#define MOTH_DECODE_ARGS3 ( name,
type,
nargs,
arg1,
arg2,
arg3 )
Value:
MOTH_DECODE_ARG(arg3, type, nargs, 2);
GLuint GLuint GLuint GLuint GLuint GLuint GLuint GLuint GLuint GLuint arg3
#define MOTH_DECODE_ARGS2(name, type, nargs, arg1, arg2)

Definition at line 407 of file qv4instr_moth_p.h.

◆ MOTH_DECODE_ARGS4

#define MOTH_DECODE_ARGS4 ( name,
type,
nargs,
arg1,
arg2,
arg3,
arg4 )
Value:
MOTH_DECODE_ARG(arg4, type, nargs, 3);
#define MOTH_DECODE_ARGS3(name, type, nargs, arg1, arg2, arg3)

Definition at line 410 of file qv4instr_moth_p.h.

◆ MOTH_DECODE_ARGS5

#define MOTH_DECODE_ARGS5 ( name,
type,
nargs,
arg1,
arg2,
arg3,
arg4,
arg5 )
Value:
MOTH_DECODE_ARGS4(name, type, nargs, arg1, arg2, arg3, arg4); \
MOTH_DECODE_ARG(arg5, type, nargs, 4);
#define MOTH_DECODE_ARGS4(name, type, nargs, arg1, arg2, arg3, arg4)

Definition at line 413 of file qv4instr_moth_p.h.

◆ MOTH_DECODE_INSTRUCTION

#define MOTH_DECODE_INSTRUCTION ( name,
nargs,
... )
Value:
MOTH_DEFINE_ARGS(nargs, __VA_ARGS__) \
op_int_##name: \
MOTH_ADJUST_CODE(int, nargs); \
MOTH_DECODE_ARGS(name, int, nargs, __VA_ARGS__) \
goto op_main_##name; \
op_byte_##name: \
MOTH_ADJUST_CODE(qint8, nargs); \
MOTH_DECODE_ARGS(name, qint8, nargs, __VA_ARGS__) \
op_main_##name: \
; \
QT_BEGIN_NAMESPACE typedef signed char qint8
Definition qtypes.h:50
#define MOTH_DEFINE_ARGS(nargs,...)

Definition at line 371 of file qv4instr_moth_p.h.

◆ MOTH_DECODE_WITH_BASE_INSTRUCTION

#define MOTH_DECODE_WITH_BASE_INSTRUCTION ( name,
nargs,
... )
Value:
MOTH_DEFINE_ARGS(nargs, __VA_ARGS__) \
const char *base_ptr; \
op_int_##name: \
base_ptr = code; \
MOTH_ADJUST_CODE(int, nargs); \
MOTH_DECODE_ARGS(name, int, nargs, __VA_ARGS__) \
goto op_main_##name; \
op_byte_##name: \
base_ptr = code; \
MOTH_ADJUST_CODE(qint8, nargs); \
MOTH_DECODE_ARGS(name, qint8, nargs, __VA_ARGS__) \
op_main_##name: \
; \

Definition at line 383 of file qv4instr_moth_p.h.

◆ MOTH_DEFINE_ARGS

#define MOTH_DEFINE_ARGS ( nargs,
... )
Value:

Definition at line 319 of file qv4instr_moth_p.h.

◆ MOTH_DEFINE_ARGS0

#define MOTH_DEFINE_ARGS0 ( )

Definition at line 322 of file qv4instr_moth_p.h.

◆ MOTH_DEFINE_ARGS1

#define MOTH_DEFINE_ARGS1 ( arg)
Value:
int arg;

Definition at line 323 of file qv4instr_moth_p.h.

◆ MOTH_DEFINE_ARGS2

#define MOTH_DEFINE_ARGS2 ( arg1,
arg2 )
Value:
int arg1; \
int arg2;

Definition at line 325 of file qv4instr_moth_p.h.

◆ MOTH_DEFINE_ARGS3

#define MOTH_DEFINE_ARGS3 ( arg1,
arg2,
arg3 )
Value:
int arg1; \
int arg2; \
int arg3;

Definition at line 328 of file qv4instr_moth_p.h.

◆ MOTH_DEFINE_ARGS4

#define MOTH_DEFINE_ARGS4 ( arg1,
arg2,
arg3,
arg4 )
Value:
int arg1; \
int arg2; \
int arg3; \
int arg4;

Definition at line 332 of file qv4instr_moth_p.h.

◆ MOTH_DEFINE_ARGS5

#define MOTH_DEFINE_ARGS5 ( arg1,
arg2,
arg3,
arg4,
arg5 )
Value:
int arg1; \
int arg2; \
int arg3; \
int arg4; \
int arg5;

Definition at line 337 of file qv4instr_moth_p.h.

◆ MOTH_DISPATCH

#define MOTH_DISPATCH ( )
Value:
Instr::Type type = Instr::Type(static_cast<uchar>(*code)); \
dispatch: \
switch (type) { \
case Instr::Type::Nop: \
++code; \
type = Instr::Type(static_cast<uchar>(*code)); \
goto dispatch; \
case Instr::Type::Nop_Wide: /* wide prefix */ \
++code; \
type = Instr::Type(0x100 | static_cast<uchar>(*code)); \
goto dispatch; \
FOR_EACH_MOTH_INSTR(MOTH_INSTR_CASE_AND_JUMP) \
}
unsigned char uchar
Definition qtypes.h:37
#define MOTH_INSTR_CASE_AND_JUMP(instr)

Definition at line 454 of file qv4instr_moth_p.h.

◆ MOTH_EMIT_INSTR_MEMBER_INSTRUCTION

#define MOTH_EMIT_INSTR_MEMBER_INSTRUCTION ( name,
nargs,
... )
Value:
instr_##name name;

Definition at line 358 of file qv4instr_moth_p.h.

◆ MOTH_EMIT_INSTR_MEMBERS

#define MOTH_EMIT_INSTR_MEMBERS ( instr)
Value:
INSTR_##instr(MOTH_EMIT_INSTR_MEMBER)

Definition at line 356 of file qv4instr_moth_p.h.

◆ MOTH_EMIT_STRUCT_INSTRUCTION

#define MOTH_EMIT_STRUCT_INSTRUCTION ( name,
nargs,
... )
Value:
struct instr_##name { \
MOTH_DEFINE_ARGS(nargs, __VA_ARGS__) \
};

Definition at line 351 of file qv4instr_moth_p.h.

◆ MOTH_EMIT_STRUCTS

#define MOTH_EMIT_STRUCTS ( instr)
Value:
INSTR_##instr(MOTH_EMIT_STRUCT)

Definition at line 349 of file qv4instr_moth_p.h.

◆ MOTH_EXPAND_FOR_MSVC

#define MOTH_EXPAND_FOR_MSVC ( x)
Value:
GLint GLint GLint GLint GLint x

Definition at line 318 of file qv4instr_moth_p.h.

◆ MOTH_GET_ENUM_INSTRUCTION

#define MOTH_GET_ENUM_INSTRUCTION ( name,
... )
Value:

Definition at line 346 of file qv4instr_moth_p.h.

◆ MOTH_INSTR_ALIGN_MASK

#define MOTH_INSTR_ALIGN_MASK   (alignof(QV4::Moth::Instr) - 1)

Definition at line 313 of file qv4instr_moth_p.h.

◆ MOTH_INSTR_CASE_AND_JUMP

#define MOTH_INSTR_CASE_AND_JUMP ( instr)
Value:
INSTR_##instr(GET_CASE_AND_JUMP) \
INSTR_##instr(GET_CASE_AND_JUMP_WIDE)

Definition at line 446 of file qv4instr_moth_p.h.

◆ MOTH_INSTR_DATA_TYPEDEF

#define MOTH_INSTR_DATA_TYPEDEF ( I)
Value:
typedef InstrData<int(Instr::Type::I)> I;

Definition at line 651 of file qv4instr_moth_p.h.

◆ MOTH_INSTR_ENUM

#define MOTH_INSTR_ENUM ( I)
Value:
I, I##_Wide,

Definition at line 315 of file qv4instr_moth_p.h.

◆ MOTH_INSTR_META_TEMPLATE

#define MOTH_INSTR_META_TEMPLATE ( I)
Value:
template<> struct InstrMeta<int(Instr::Type::I)> { \
enum { Size = MOTH_INSTR_SIZE(I) }; \
typedef Instr::instr_##I DataType; \
static const DataType &data(const Instr &instr) { return instr.I; } \
static void setData(Instr &instr, const DataType &v) \
{ memcpy(reinterpret_cast<char *>(&instr.I), \
reinterpret_cast<const char *>(&v), \
Size); } \
};
#define Size(name)
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
[0]
GLsizei const GLfloat * v
#define MOTH_INSTR_SIZE(I)
static bool setData(const QByteArray &data, STGMEDIUM *pmedium)

Definition at line 631 of file qv4instr_moth_p.h.

◆ MOTH_INSTR_SIZE

#define MOTH_INSTR_SIZE ( I)
Value:
(sizeof(QV4::Moth::Instr::instr_##I))

Definition at line 316 of file qv4instr_moth_p.h.

◆ MOTH_JUMP_TABLE

#define MOTH_JUMP_TABLE

Definition at line 444 of file qv4instr_moth_p.h.

◆ MOTH_NUM_INSTRUCTIONS

#define MOTH_NUM_INSTRUCTIONS ( )
Value:
(static_cast<int>(Moth::Instr::Type::Debug_Wide) + 1)

Definition at line 302 of file qv4instr_moth_p.h.