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  StackSlot
union  Instr
struct  InstrInfo
struct  InstrMeta
class  InstrData
struct  Instruction
class  VME
class  ByteCodeHandler

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 QList< CompiledData::CodeOffsetToLineAndStatement > &lineAndStatementNumberMapping)
QString dumpBytecode (const char *code, int len, int nLocals, int nFormals, int beginOffset, int endOffset, const QList< 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 QList< CompiledData::CodeOffsetToLineAndStatement > &lineAndStatementNumberMapping=QList< 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 101 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 QList< CompiledData::CodeOffsetToLineAndStatement > & lineAndStatementNumberMapping = QList<CompiledData::CodeOffsetToLineAndStatement>() )

Definition at line 115 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 QList< CompiledData::CodeOffsetToLineAndStatement > & lineAndStatementNumberMapping = QList<CompiledData::CodeOffsetToLineAndStatement>() )

Definition at line 108 of file qv4instr_moth.cpp.

◆ dumpBytecode() [3/3]

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

Definition at line 508 of file qv4instr_moth_p.h.

◆ dumpRegister()

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

Definition at line 75 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 495 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 494 of file qv4instr_moth_p.h.

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

Here is the call graph for this function: