top | up | prev | next

PtrOffsetInstruction Abstract Class

Definition at line 285 of Instruction.hpp

Constructors

PtrOffsetInstruction(Value* ptr_, Value* offset_)

Member Functions

Type* GetType(Context& context) override
void Write(CodeFormatter& formatter, Function& function, Context& context)

Member Variables

Value* offset
Value* ptr

Constructor Details

PtrOffsetInstruction Constructor

cmsxi::PtrOffsetInstruction::PtrOffsetInstruction(Value * ptr_, Value * offset_)

Definition at line 484 of Instruction.cpp :
484 : Instruction()ptr(ptr_)offset(offset_)
485 {
486 }


Declaration at line 288 of Instruction.hpp


Member Function Details

GetType Member Function

Type * cmsxi::PtrOffsetInstruction::GetType(Context & context) override

Definition at line 289 of Instruction.hpp :
289 { return ptr->GetType(context); }

Base class overridden functions: cmsxi::Instruction::GetType , cmsxi::Value::GetType

Calls: cmsxi::Value::GetType


Write Member Function

void cmsxi::PtrOffsetInstruction::Write(CodeFormatter& formatter, Function & function, Context & context)

Definition at line 488 of Instruction.cpp

Calls: cmsxi::Instruction::WriteMetadataRef , cmsxi::Instruction::WriteResult , cmsxi::Type::Name , cmsxi::Value::GetType , cmsxi::Value::Name


top | up | prev | next