#include <qv4codegen_p.h>
|
enum | Type {
Invalid
, Accumulator
, Super
, SuperProperty
,
StackSlot
, ScopedLocal
, Name
, Member
,
Subscript
, Import
, LastLValue = Import
, Const
} |
|
static Reference | fromAccumulator (Codegen *cg) |
static Reference | fromSuper (Codegen *cg) |
static Reference | fromStackSlot (Codegen *cg, int tempIndex=-1, bool isLocal=false) |
static Reference | fromScopedLocal (Codegen *cg, int index, int scope) |
static Reference | fromImport (Codegen *cg, int index) |
static Reference | fromName (Codegen *cg, const QString &name) |
static Reference | fromMember (const Reference &baseRef, const QString &name, QQmlJS::SourceLocation sourceLocation=QQmlJS::SourceLocation(), bool isOptional=false, std::vector< Moth::BytecodeGenerator::Jump > *optionalChainJumpsToPatch=nullptr) |
static Reference | fromSuperProperty (const Reference &property) |
static Reference | fromSubscript (const Reference &baseRef, const Reference &subscript) |
static Reference | fromConst (Codegen *cg, QV4::ReturnedValue constant) |
static Reference | fromThis (Codegen *cg) |
static Q_REQUIRED_RESULT Reference | storeConstOnStack (Codegen *cg, QV4::ReturnedValue constant) |
static void | storeConstOnStack (Codegen *cg, QV4::ReturnedValue constant, int stackSlot) |
Definition at line 161 of file qv4codegen_p.h.
◆ Type
Enumerator |
---|
Invalid | |
Accumulator | |
Super | |
SuperProperty | |
StackSlot | |
ScopedLocal | |
Name | |
Member | |
Subscript | |
Import | |
LastLValue | |
Const | |
Definition at line 162 of file qv4codegen_p.h.
◆ Reference() [1/4]
◆ Reference() [2/4]
QV4::Compiler::Codegen::Reference::Reference |
( |
const QString & | name = QString() | ) |
|
|
inline |
◆ Reference() [3/4]
QV4::Compiler::Codegen::Reference::Reference |
( |
const Reference & | | ) |
|
|
default |
◆ Reference() [4/4]
QV4::Compiler::Codegen::Reference::Reference |
( |
Reference && | | ) |
|
|
default |
◆ asLValue()
◆ asRValue()
◆ baseObject()
◆ fromAccumulator()
◆ fromConst()
◆ fromImport()
Reference QV4::Compiler::Codegen::Reference::fromImport |
( |
Codegen * | cg, |
|
|
int | index ) |
|
inlinestatic |
◆ fromMember()
◆ fromName()
◆ fromScopedLocal()
Reference QV4::Compiler::Codegen::Reference::fromScopedLocal |
( |
Codegen * | cg, |
|
|
int | index, |
|
|
int | scope ) |
|
inlinestatic |
◆ fromStackSlot()
Reference QV4::Compiler::Codegen::Reference::fromStackSlot |
( |
Codegen * | cg, |
|
|
int | tempIndex = -1, |
|
|
bool | isLocal = false ) |
|
inlinestatic |
◆ fromSubscript()
◆ fromSuper()
◆ fromSuperProperty()
Reference QV4::Compiler::Codegen::Reference::fromSuperProperty |
( |
const Reference & | property | ) |
|
|
inlinestatic |
◆ fromThis()
◆ isAccumulator()
bool QV4::Compiler::Codegen::Reference::isAccumulator |
( |
| ) |
const |
|
inline |
◆ isConstant()
bool QV4::Compiler::Codegen::Reference::isConstant |
( |
| ) |
const |
|
inline |
◆ isLValue()
bool QV4::Compiler::Codegen::Reference::isLValue |
( |
| ) |
const |
|
inline |
◆ isRegister()
bool QV4::Compiler::Codegen::Reference::isRegister |
( |
| ) |
const |
|
inline |
◆ isStackSlot()
bool QV4::Compiler::Codegen::Reference::isStackSlot |
( |
| ) |
const |
|
inline |
◆ isSuper()
bool QV4::Compiler::Codegen::Reference::isSuper |
( |
| ) |
const |
|
inline |
◆ isSuperProperty()
bool QV4::Compiler::Codegen::Reference::isSuperProperty |
( |
| ) |
const |
|
inline |
◆ isValid()
bool QV4::Compiler::Codegen::Reference::isValid |
( |
| ) |
const |
|
inline |
◆ loadInAccumulator()
void Codegen::Reference::loadInAccumulator |
( |
| ) |
const |
◆ loadTriggersSideEffect()
bool QV4::Compiler::Codegen::Reference::loadTriggersSideEffect |
( |
| ) |
const |
|
inline |
◆ nameAsIndex()
int QV4::Compiler::Codegen::Reference::nameAsIndex |
( |
| ) |
const |
|
inline |
◆ operator!=()
bool QV4::Compiler::Codegen::Reference::operator!= |
( |
const Reference & | other | ) |
const |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==()
bool Codegen::Reference::operator== |
( |
const Reference & | other | ) |
const |
◆ stackSlot()
◆ storeConstOnStack() [1/2]
◆ storeConstOnStack() [2/2]
◆ storeConsumeAccumulator()
◆ storeOnStack() [1/2]
◆ storeOnStack() [2/2]
void Codegen::Reference::storeOnStack |
( |
int | tempIndex | ) |
const |
◆ storeRetainAccumulator()
◆ storeWipesAccumulator()
bool Codegen::Reference::storeWipesAccumulator |
( |
| ) |
const |
◆ tdzCheck()
void QV4::Compiler::Codegen::Reference::tdzCheck |
( |
| ) |
const |
|
inline |
◆ [union]
◆ codegen
Codegen* QV4::Compiler::Codegen::Reference::codegen = nullptr |
◆ constant
◆ element
◆ elementBase
◆ elementSubscript
RValue QV4::Compiler::Codegen::Reference::elementSubscript |
◆ global
quint32 QV4::Compiler::Codegen::Reference::global |
◆ hasSavedCallBaseSlot
quint32 QV4::Compiler::Codegen::Reference::hasSavedCallBaseSlot |
◆ index
int QV4::Compiler::Codegen::Reference::index |
◆ isArgOrEval
quint32 QV4::Compiler::Codegen::Reference::isArgOrEval |
◆ isOptional
quint32 QV4::Compiler::Codegen::Reference::isOptional |
◆ isReadonly
quint32 QV4::Compiler::Codegen::Reference::isReadonly |
◆ isReferenceToConst
quint32 QV4::Compiler::Codegen::Reference::isReferenceToConst |
◆ isVolatile
quint32 QV4::Compiler::Codegen::Reference::isVolatile |
◆ name
QString QV4::Compiler::Codegen::Reference::name |
◆ optionalChainJumpsToPatch
◆ property
◆ propertyBase
RValue QV4::Compiler::Codegen::Reference::propertyBase |
◆ propertyNameIndex
int QV4::Compiler::Codegen::Reference::propertyNameIndex |
◆ qmlGlobal
quint32 QV4::Compiler::Codegen::Reference::qmlGlobal |
◆ requiresTDZCheck
quint32 QV4::Compiler::Codegen::Reference::requiresTDZCheck |
◆ savedCallBaseSlot
int QV4::Compiler::Codegen::Reference::savedCallBaseSlot = -1 |
◆ savedCallPropertyNameIndex
int QV4::Compiler::Codegen::Reference::savedCallPropertyNameIndex = -1 |
◆ scope
int QV4::Compiler::Codegen::Reference::scope |
◆ sourceLocation
◆ stackSlotIsLocalOrArgument
quint32 QV4::Compiler::Codegen::Reference::stackSlotIsLocalOrArgument |
◆ subscriptLoadedForCall
quint32 QV4::Compiler::Codegen::Reference::subscriptLoadedForCall |
◆ subscriptRequiresTDZCheck
quint32 QV4::Compiler::Codegen::Reference::subscriptRequiresTDZCheck |
◆ theStackSlot
◆ throwsReferenceError
quint32 QV4::Compiler::Codegen::Reference::throwsReferenceError |
◆ type
The documentation for this struct was generated from the following files: