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
QV4::Moth Namespace Reference

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)

Function Documentation

◆ dumpArguments()

QString QV4::Moth::dumpArguments ( int argc,
int argv,
int nFormals )

Definition at line 100 of file qv4instr_moth.cpp.

◆ dumpBytecode() [1/3]

QString QV4::Moth::dumpBytecode ( const char * code,
int len,
int nLocals,
int nFormals,
int beginOffset,
int endOffset,
const QVector< CompiledData::CodeOffsetToLineAndStatement > & lineAndStatementNumberMapping = QVector<CompiledData::CodeOffsetToLineAndStatement>() )

Definition at line 114 of file qv4instr_moth.cpp.

◆ dumpBytecode() [2/3]

QString QV4::Moth::dumpBytecode ( const char * code,
int len,
int nLocals,
int nFormals,
int startLine = 1,
const QVector< CompiledData::CodeOffsetToLineAndStatement > & lineAndStatementNumberMapping = QVector<CompiledData::CodeOffsetToLineAndStatement>() )

Definition at line 107 of file qv4instr_moth.cpp.

◆ dumpBytecode() [3/3]

QString QV4::Moth::dumpBytecode ( const QByteArray & bytecode,
int nLocals,
int nFormals,
int startLine = 1,
const QVector< CompiledData::CodeOffsetToLineAndStatement > & lineAndStatementNumberMapping = QVector<CompiledData::CodeOffsetToLineAndStatement>() )
inline

Definition at line 507 of file qv4instr_moth_p.h.

◆ dumpRegister()

QString QV4::Moth::dumpRegister ( int reg,
int nFormals )

Definition at line 74 of file qv4instr_moth.cpp.

◆ FOR_EACH_MOTH_INSTR_ALL()

QV4::Moth::FOR_EACH_MOTH_INSTR_ALL ( MOTH_INSTR_META_TEMPLATE )

◆ operator!=()

bool QV4::Moth::operator!= ( const StackSlot & l,
const StackSlot & r )
inline

Definition at line 494 of file qv4instr_moth_p.h.

References QV4::Moth::StackSlot::stackSlot().

Here is the call graph for this function:

◆ operator==()

bool QV4::Moth::operator== ( const StackSlot & l,
const StackSlot & r )
inline

Definition at line 493 of file qv4instr_moth_p.h.

References QV4::Moth::StackSlot::stackSlot().

Here is the call graph for this function: