![]() |
Qt 6.x
The Qt SDK
|
Classes | |
class | BytecodeGenerator |
class | ByteCodeHandler |
union | Instr |
class | InstrData |
struct | InstrInfo |
struct | InstrMeta |
struct | Instruction |
class | StackSlot |
class | VME |
Functions | |
QString | dumpRegister (int reg, int nFormals) |
QString | dumpArguments (int argc, int argv, int nFormals) |
QString | dumpBytecode (const char *code, int len, int nLocals, int nFormals, int, const QVector< CompiledData::CodeOffsetToLineAndStatement > &lineAndStatementNumberMapping) |
QString | dumpBytecode (const char *code, int len, int nLocals, int nFormals, int beginOffset, int endOffset, const QVector< CompiledData::CodeOffsetToLineAndStatement > &lineAndStatementNumberMapping) |
bool | operator== (const StackSlot &l, const StackSlot &r) |
bool | operator!= (const StackSlot &l, const StackSlot &r) |
QString | dumpBytecode (const QByteArray &bytecode, int nLocals, int nFormals, int startLine=1, const QVector< CompiledData::CodeOffsetToLineAndStatement > &lineAndStatementNumberMapping=QVector< CompiledData::CodeOffsetToLineAndStatement >()) |
FOR_EACH_MOTH_INSTR_ALL (MOTH_INSTR_META_TEMPLATE) | |
QString QV4::Moth::dumpArguments | ( | int | argc, |
int | argv, | ||
int | nFormals | ||
) |
Definition at line 100 of file qv4instr_moth.cpp.
References dumpRegister(), QString::number(), and QStringLiteral.
Referenced by dumpBytecode().
Q_QML_PRIVATE_EXPORT QString QV4::Moth::dumpBytecode | ( | const char * | code, |
int | len, | ||
int | nLocals, | ||
int | nFormals, | ||
int | beginOffset, | ||
int | endOffset, | ||
const QVector< CompiledData::CodeOffsetToLineAndStatement > & | lineAndStatementNumberMapping | ||
) |
Definition at line 114 of file qv4instr_moth.cpp.
References ABSOLUTE_OFFSET, args, base, QList< T >::constBegin(), QList< T >::constEnd(), Construct, done, dumpArguments(), dumpRegister(), line, MOTH_BEGIN_INSTR, MOTH_DISPATCH, MOTH_END_INSTR, MOTH_JUMP_TABLE, output, property, and Q_ASSERT.
QString QV4::Moth::dumpBytecode | ( | const char * | code, |
int | len, | ||
int | nLocals, | ||
int | nFormals, | ||
int | , | ||
const QVector< CompiledData::CodeOffsetToLineAndStatement > & | lineAndStatementNumberMapping | ||
) |
Definition at line 107 of file qv4instr_moth.cpp.
References dumpBytecode().
Referenced by QV4::Compiler::Codegen::defineFunction(), dumpBytecode(), and dumpBytecode().
|
inline |
Definition at line 509 of file qv4instr_moth_p.h.
References QByteArray::constData(), dumpBytecode(), and QByteArray::size().
QString QV4::Moth::dumpRegister | ( | int | reg, |
int | nFormals | ||
) |
Definition at line 74 of file qv4instr_moth.cpp.
References QV4::CallData::Accumulator, QV4::CallData::Argc, QV4::CallData::Context, context, function, QV4::CallData::Function, QV4::CallData::HeaderSize(), QV4::CallData::NewTarget, Q_STATIC_ASSERT, QStringLiteral, and QV4::CallData::This.
Referenced by dumpArguments(), and dumpBytecode().
QV4::Moth::FOR_EACH_MOTH_INSTR_ALL | ( | MOTH_INSTR_META_TEMPLATE | ) |
Definition at line 496 of file qv4instr_moth_p.h.
References QV4::Moth::StackSlot::stackSlot().
Definition at line 495 of file qv4instr_moth_p.h.
References QV4::Moth::StackSlot::stackSlot().