top | up | prev | next

ArgInstruction Class

Definition at line 265 of Instruction.hpp

Constructors

ArgInstruction(Value* arg_)

Member Functions

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

Member Variables

Value* arg

Constructor Details

ArgInstruction Constructor

cmsxi::ArgInstruction::ArgInstruction(Value * arg_)

Definition at line 421 of Instruction.cpp :
421 : Instruction()arg(arg_)
422 {
423 }


Declaration at line 268 of Instruction.hpp


Member Function Details

Write Member Function

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

Definition at line 425 of Instruction.cpp :
426 {
427     formatter.Write(Format("arg "8));
428     formatter.Write(arg->GetType(context)->Name());
429     formatter.Write(" ");
430     formatter.Write(arg->Name(context));
431     WriteMetadataRef(formatter);
432 }


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


top | up | prev | next