![]() |
Qt 6.x
The Qt SDK
|
#include <qv4codegen_p.h>
Public Member Functions | |
bool | operator== (const RValue &other) const |
bool | isValid () const |
bool | isAccumulator () const |
bool | isStackSlot () const |
bool | isConst () const |
Moth::StackSlot | stackSlot () const |
QV4::ReturnedValue | constantValue () const |
Q_REQUIRED_RESULT RValue | storeOnStack () const |
void | loadInAccumulator () const |
Static Public Member Functions | |
static RValue | fromStackSlot (Codegen *codegen, Moth::StackSlot stackSlot) |
static RValue | fromAccumulator (Codegen *codegen) |
static RValue | fromConst (Codegen *codegen, QV4::ReturnedValue value) |
Definition at line 101 of file qv4codegen_p.h.
|
inline |
Definition at line 148 of file qv4codegen_p.h.
References constant(), and Q_ASSERT.
Referenced by QV4::Compiler::Codegen::Reference::baseObject().
Definition at line 122 of file qv4codegen_p.h.
Referenced by QV4::Compiler::Codegen::Reference::asRValue().
|
inlinestatic |
Definition at line 128 of file qv4codegen_p.h.
Referenced by QV4::Compiler::Codegen::Reference::asRValue().
|
inlinestatic |
Definition at line 115 of file qv4codegen_p.h.
Referenced by QV4::Compiler::Codegen::Reference::asRValue(), and storeOnStack().
|
inline |
Definition at line 139 of file qv4codegen_p.h.
Referenced by QV4::Compiler::Codegen::Reference::baseObject().
|
inline |
Definition at line 141 of file qv4codegen_p.h.
Referenced by QV4::Compiler::Codegen::Reference::baseObject().
|
inline |
Definition at line 140 of file qv4codegen_p.h.
Referenced by QV4::Compiler::Codegen::Reference::baseObject().
|
inline |
Definition at line 138 of file qv4codegen_p.h.
References Invalid.
Referenced by QV4::Compiler::Codegen::Reference::baseObject().
void Codegen::RValue::loadInAccumulator | ( | ) | const |
Definition at line 4302 of file qv4codegen.cpp.
References QQmlJS::AST::Const, constant(), QV4::Compiler::Codegen::Reference::fromConst(), QV4::Compiler::Codegen::Reference::fromStackSlot(), and QV4::Compiler::Codegen::Reference::loadInAccumulator().
bool Codegen::RValue::operator== | ( | const RValue & | other | ) | const |
Definition at line 4274 of file qv4codegen.cpp.
References constant, other(), and theStackSlot.
|
inline |
Definition at line 143 of file qv4codegen_p.h.
References Q_ASSERT.
Referenced by QV4::Compiler::Codegen::Reference::baseObject(), and QV4::Compiler::Codegen::visit().
Codegen::RValue Codegen::RValue::storeOnStack | ( | ) | const |
Definition at line 4288 of file qv4codegen.cpp.
References QQmlJS::AST::Const, constant(), QV4::Compiler::Codegen::Reference::fromAccumulator(), fromStackSlot(), and QV4::Compiler::Codegen::Reference::storeConstOnStack().
Referenced by QV4::Compiler::Codegen::Reference::asLValue().
QV4::ReturnedValue QV4::Compiler::Codegen::RValue::constant |
Definition at line 111 of file qv4codegen_p.h.
Referenced by operator==().
Moth::StackSlot QV4::Compiler::Codegen::RValue::theStackSlot |
Definition at line 110 of file qv4codegen_p.h.
Referenced by operator==().