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 <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 102 of file qv4codegen_p.h.
|
inline |
Definition at line 149 of file qv4codegen_p.h.
References constant(), and Q_ASSERT.
Definition at line 123 of file qv4codegen_p.h.
Referenced by QV4::Compiler::Codegen::Reference::asRValue().
|
inlinestatic |
Definition at line 129 of file qv4codegen_p.h.
Referenced by QV4::Compiler::Codegen::Reference::asRValue().
|
inlinestatic |
Definition at line 116 of file qv4codegen_p.h.
Referenced by QV4::Compiler::Codegen::Reference::asRValue(), and storeOnStack().
|
inline |
Definition at line 140 of file qv4codegen_p.h.
|
inline |
Definition at line 142 of file qv4codegen_p.h.
|
inline |
Definition at line 141 of file qv4codegen_p.h.
|
inline |
Definition at line 139 of file qv4codegen_p.h.
References Invalid.
void Codegen::RValue::loadInAccumulator | ( | ) | const |
Definition at line 4332 of file qv4codegen.cpp.
References QQmlJS::AST::Const, constant(), QV4::Compiler::Codegen::Reference::fromConst(), and QV4::Compiler::Codegen::Reference::fromStackSlot().
bool Codegen::RValue::operator== | ( | const RValue & | other | ) | const |
Definition at line 4304 of file qv4codegen.cpp.
References constant, other(), and theStackSlot.
|
inline |
Definition at line 144 of file qv4codegen_p.h.
References Q_ASSERT.
Referenced by QV4::Compiler::Codegen::visit().
Codegen::RValue Codegen::RValue::storeOnStack | ( | ) | const |
Definition at line 4318 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 112 of file qv4codegen_p.h.
Referenced by operator==().
Moth::StackSlot QV4::Compiler::Codegen::RValue::theStackSlot |
Definition at line 111 of file qv4codegen_p.h.
Referenced by operator==().