Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QV4::Compiler::Codegen::RValue Class Reference

#include <qv4codegen_p.h>

Collaboration diagram for QV4::Compiler::Codegen::RValue:

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)

Detailed Description

Definition at line 106 of file qv4codegen_p.h.

Member Function Documentation

◆ constantValue()

QV4::ReturnedValue QV4::Compiler::Codegen::RValue::constantValue ( ) const
inline

Definition at line 153 of file qv4codegen_p.h.

◆ fromAccumulator()

RValue QV4::Compiler::Codegen::RValue::fromAccumulator ( Codegen * codegen)
inlinestatic

Definition at line 127 of file qv4codegen_p.h.

◆ fromConst()

RValue QV4::Compiler::Codegen::RValue::fromConst ( Codegen * codegen,
QV4::ReturnedValue value )
inlinestatic

Definition at line 133 of file qv4codegen_p.h.

◆ fromStackSlot()

RValue QV4::Compiler::Codegen::RValue::fromStackSlot ( Codegen * codegen,
Moth::StackSlot stackSlot )
inlinestatic

Definition at line 120 of file qv4codegen_p.h.

◆ isAccumulator()

bool QV4::Compiler::Codegen::RValue::isAccumulator ( ) const
inline

Definition at line 144 of file qv4codegen_p.h.

◆ isConst()

bool QV4::Compiler::Codegen::RValue::isConst ( ) const
inline

Definition at line 146 of file qv4codegen_p.h.

◆ isStackSlot()

bool QV4::Compiler::Codegen::RValue::isStackSlot ( ) const
inline

Definition at line 145 of file qv4codegen_p.h.

◆ isValid()

bool QV4::Compiler::Codegen::RValue::isValid ( ) const
inline

Definition at line 143 of file qv4codegen_p.h.

◆ loadInAccumulator()

void Codegen::RValue::loadInAccumulator ( ) const

Definition at line 4414 of file qv4codegen.cpp.

◆ operator==()

bool Codegen::RValue::operator== ( const RValue & other) const

Definition at line 4386 of file qv4codegen.cpp.

◆ stackSlot()

Moth::StackSlot QV4::Compiler::Codegen::RValue::stackSlot ( ) const
inline

Definition at line 148 of file qv4codegen_p.h.

◆ storeOnStack()

Codegen::RValue Codegen::RValue::storeOnStack ( ) const

Definition at line 4400 of file qv4codegen.cpp.

Member Data Documentation

◆ constant

QV4::ReturnedValue QV4::Compiler::Codegen::RValue::constant

Definition at line 116 of file qv4codegen_p.h.

◆ theStackSlot

Moth::StackSlot QV4::Compiler::Codegen::RValue::theStackSlot

Definition at line 115 of file qv4codegen_p.h.


The documentation for this class was generated from the following files: