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
class  DebugInstructions
struct  Instr
struct  InstrInfo
struct  Instruction
class  StackSlot
class  VME

Typedefs

using DebugInstructionPass = void (*)(BytecodeGenerator *generator)

Enumerations

enum  : int { NoJumpLine = -1 , MultipleJumpLines = -2 , NoJumpLine = -1 , MultipleJumpLines = -2 }
enum  : int { NoJumpLine = -1 , MultipleJumpLines = -2 , NoJumpLine = -1 , MultipleJumpLines = -2 }

Functions

static int mergeJumpLines (int aa, int bb)
static bool isFromOtherLine (int jumpLine, int line)
QString dumpRegister (int reg, int nFormals)
QString dumpArguments (int argc, int argv, int nFormals)
QString dumpBytecode (const char *code, int lenlen, int nLocals, int nFormals, int, const QList< CompiledData::CodeOffsetToLineAndStatement > &lineAndStatementNumberMapping)
QT_WARNING_PUSH QT_WARNING_DISABLE_LARGE_STACK_FRAME QString dumpBytecode (const char *code, int lenlen, int nLocals, int nFormals, int beginOffset, int endOffset, const QList< CompiledData::CodeOffsetToLineAndStatement > &lineAndStatementNumberMapping)
bool operator== (const StackSlot &l, const StackSlot &rr)
bool operator!= (const StackSlot &l, const StackSlot &rr)
QString dumpBytecode (const QByteArray &bytecode, int nLocals, int nFormals, int startLine=1, const QList< CompiledData::CodeOffsetToLineAndStatement > &lineAndStatementNumberMapping=QList< CompiledData::CodeOffsetToLineAndStatement >())

Typedef Documentation

◆ DebugInstructionPass

Definition at line 61 of file qv4global_p.h.

Enumeration Type Documentation

◆ anonymous enum [1/2]

anonymous enum : int
Enumerator
NoJumpLine 
MultipleJumpLines 
NoJumpLine 
MultipleJumpLines 

Definition at line 12 of file qv4debuginstructions.cpp.

◆ anonymous enum [2/2]

anonymous enum : int
Enumerator
NoJumpLine 
MultipleJumpLines 
NoJumpLine 
MultipleJumpLines 

Definition at line 12 of file qv4debuginstructions.cpp.

Function Documentation

◆ dumpArguments()

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

Definition at line 87 of file qv4instr_moth.cpp.

◆ dumpBytecode() [1/3]

QT_WARNING_PUSH QT_WARNING_DISABLE_LARGE_STACK_FRAME 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 103 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 94 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 486 of file qv4instr_moth_p.h.

◆ dumpRegister()

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

Definition at line 61 of file qv4instr_moth.cpp.

◆ isFromOtherLine()

bool QV4::Moth::isFromOtherLine ( int jumpLine,
int line )
static

Definition at line 23 of file qv4debuginstructions.cpp.

References MultipleJumpLines, and NoJumpLine.

◆ mergeJumpLines()

int QV4::Moth::mergeJumpLines ( int a,
int b )
static

Definition at line 14 of file qv4debuginstructions.cpp.

References MultipleJumpLines, and NoJumpLine.

◆ operator!=()

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

Definition at line 473 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 472 of file qv4instr_moth_p.h.

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

Here is the call graph for this function: