top | up | prev | next

CallInstruction Abstract Class

Definition at line 307 of Instruction.hpp

Constructors

CallInstruction(Value* function_)

Member Functions

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

Member Variables

Value* function

Constructor Details

CallInstruction Constructor

cmsxi::CallInstruction::CallInstruction(Value * function_)

Definition at line 525 of Instruction.cpp :
525 : Instruction()function(function_)
526 {
527 }


Declaration at line 310 of Instruction.hpp


Member Function Details

GetType Member Function

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

Definition at line 529 of Instruction.cpp
Declaration at line 311 of Instruction.hpp

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

Calls: cmsxi::FunctionType::ReturnType , cmsxi::PtrType::BaseType , cmsxi::Type::IsFunctionType , cmsxi::Type::IsPtrType , cmsxi::Value::GetType

Called by: cmsxi::CallInstruction::Write


Write Member Function

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

Definition at line 549 of Instruction.cpp

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


top | up | prev | next