Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include "qv4instr_moth_p.h"
#include <private/qv4compileddata_p.h>
#include <private/qv4calldata_p.h>
#include <QtCore/qdebug.h>
Go to the source code of this file.
Namespaces | |
namespace | QV4 |
namespace | QV4::Moth |
Macros | |
#define | MOTH_RETURN_INSTR_SIZE(I) case Instr::Type::I: case Instr::Type::I##_Wide: return InstrMeta<int(Instr::Type::I)>::Size; |
#define | ABSOLUTE_OFFSET() (code + beginOffset - start + offset) |
#define | MOTH_BEGIN_INSTR(instr) |
#define | MOTH_END_INSTR(instr) |
Functions | |
static QByteArray | alignedNumber (int n) |
static QByteArray | alignedLineNumber (int line) |
static QByteArray | rawBytes (const char *data, int n) |
QString | QV4::Moth::dumpRegister (int reg, int nFormals) |
QString | QV4::Moth::dumpArguments (int argc, int argv, int nFormals) |
QString | QV4::Moth::dumpBytecode (const char *code, int len, int nLocals, int nFormals, int, const QVector< CompiledData::CodeOffsetToLineAndStatement > &lineAndStatementNumberMapping) |
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 50 of file qv4instr_moth.cpp.
Referenced by QV4::Moth::dumpBytecode().
#define MOTH_BEGIN_INSTR | ( | instr | ) |
Definition at line 53 of file qv4instr_moth.cpp.
Referenced by QV4::Moth::dumpBytecode(), and QV4::Moth::VME::interpret().
#define MOTH_END_INSTR | ( | instr | ) |
Definition at line 61 of file qv4instr_moth.cpp.
Referenced by QV4::Moth::dumpBytecode(), and QV4::Moth::VME::interpret().
#define MOTH_RETURN_INSTR_SIZE | ( | I | ) | case Instr::Type::I: case Instr::Type::I##_Wide: return InstrMeta<int(Instr::Type::I)>::Size; |
|
static |
Definition at line 28 of file qv4instr_moth.cpp.
References alignedNumber(), line, and QByteArray().
|
static |
Definition at line 23 of file qv4instr_moth.cpp.
References number, and QByteArray::number().
Referenced by alignedLineNumber().
|
static |
Definition at line 34 of file qv4instr_moth.cpp.
References ba, QByteArray::number(), and QByteArray::size().