top | up | prev | next

LvalueRefefenceCopyCtor Class

Definition at line 1030 of OperationRepository.cpp

Constructors

LvalueRefefenceCopyCtor(TypeSymbol* type_, const Span& span, const boost::uuids::uuid& moduleId)

Member Functions

const char* ClassName() const override
SymbolAccess DeclaredAccess() const override
void GenerateCall(Emitter& emitter, std::vector<GenObject*>& genObjects, OperationFlags flags, const Span& span, const boost::uuids::uuid& moduleId) override
bool IsBasicTypeOperation() const override

Member Variables

TypeSymbol* type

Constructor Details

LvalueRefefenceCopyCtor Constructor

cmajor::binder::LvalueRefefenceCopyCtor::LvalueRefefenceCopyCtor(TypeSymbol* type_, const Span& span, const boost::uuids::uuid& moduleId)

Definition at line 1042 of OperationRepository.cpp
Declaration at line 1033 of OperationRepository.cpp


Member Function Details

ClassName Member Function

const char * cmajor::binder::LvalueRefefenceCopyCtor::ClassName() const override

Definition at line 1037 of OperationRepository.cpp :
1037 { return "LvalueRefefenceCopyCtor"; }


DeclaredAccess Member Function

SymbolAccess cmajor::binder::LvalueRefefenceCopyCtor::DeclaredAccess() const override

Definition at line 1034 of OperationRepository.cpp :
1034 { return SymbolAccess::public_; }


GenerateCall Member Function

void cmajor::binder::LvalueRefefenceCopyCtor::GenerateCall(Emitter& emitter, std::vector<GenObject*>& genObjects, OperationFlags flags, const Span& span, const boost::uuids::uuid& moduleId) override

Definition at line 1055 of OperationRepository.cpp :
1056 {
1057     Assert(genObjects.size() == 2"reference copy constructor needs two objects");
1058     genObjects[1]->Load(emitterOperationFlags::none);
1059     genObjects[0]->Store(emitterOperationFlags::none);
1060 }


Declaration at line 1035 of OperationRepository.cpp


IsBasicTypeOperation Member Function

bool cmajor::binder::LvalueRefefenceCopyCtor::IsBasicTypeOperation() const override

Definition at line 1036 of OperationRepository.cpp :
1036 { return true; }


top | up | prev | next