![]() |
Qt 6.x
The Qt SDK
|
#include <qv4bytecodehandler_p.h>
Public Member Functions | |
ByteCodeHandler ()=default | |
virtual | ~ByteCodeHandler () |
void | decode (const char *code, uint len) |
void | reset () |
int | currentInstructionOffset () const |
int | nextInstructionOffset () const |
int | absoluteOffset (int relativeOffset) const |
Protected Types | |
enum | Verdict { ProcessInstruction , SkipInstruction } |
Protected Member Functions | |
virtual Verdict | startInstruction (Moth::Instr::Type instr)=0 |
virtual void | endInstruction (Moth::Instr::Type instr)=0 |
Definition at line 59 of file qv4bytecodehandler_p.h.
|
protected |
Enumerator | |
---|---|
ProcessInstruction | |
SkipInstruction |
Definition at line 77 of file qv4bytecodehandler_p.h.
|
default |
|
virtual |
Definition at line 10 of file qv4bytecodehandler.cpp.
|
inline |
Definition at line 71 of file qv4bytecodehandler_p.h.
|
inline |
Definition at line 69 of file qv4bytecodehandler_p.h.
Referenced by QQmlJSCompilePass::currentSourceLocation(), QQmlJSTypePropagator::endInstruction(), QQmlJSBasicBlocks::endInstruction(), QQmlJSBasicBlocks::generate_DefineArray(), QQmlJSBasicBlocks::generate_DefineObjectLiteral(), QQmlJSCompilePass::nextStateFromAnnotations(), QQmlJSCompilePass::setError(), QQmlJSTypePropagator::startInstruction(), QQmlJSBasicBlocks::startInstruction(), and QQmlJSCodeGenerator::startInstruction().
Definition at line 32 of file qv4bytecodehandler.cpp.
References DECODE_AND_DISPATCH, FOR_EACH_MOTH_INSTR, MOTH_DISPATCH, and MOTH_JUMP_TABLE.
|
protectedpure virtual |
Implemented in QQmlJSTypePropagator, QQmlJSBasicBlocks, QQmlJSCodeGenerator, QQmlJSShadowCheck, and QQmlJSStorageGeneralizer.
|
inline |
Definition at line 70 of file qv4bytecodehandler_p.h.
Referenced by QQmlJSBasicBlocks::endInstruction(), and QQmlJSCodeGenerator::generateSetInstructionPointer().
|
inline |
Definition at line 67 of file qv4bytecodehandler_p.h.
Referenced by QQmlJSBasicBlocks::run(), and QQmlJSTypePropagator::run().
|
protectedpure virtual |
Implemented in QQmlJSTypePropagator, QQmlJSBasicBlocks, QQmlJSCodeGenerator, QQmlJSShadowCheck, and QQmlJSStorageGeneralizer.