top | up | prev | next

AddInstruction Class

Definition at line 83 of Instruction.hpp

Constructors

AddInstruction(Value* left_, Value* right_)

Member Functions

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

Constructor Details

AddInstruction Constructor

cmsxi::AddInstruction::AddInstruction(Value * left_, Value * right_)

Definition at line 105 of Instruction.cpp :
105 : BinaryInstruction(left_right_)
106 {
107 }


Declaration at line 86 of Instruction.hpp


Member Function Details

Write Member Function

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

Definition at line 109 of Instruction.cpp :
110 {
111     WriteResult(formatterfunctioncontext);
112     formatter.Write(" = add ");
113     WriteArgs(formattercontext);
114     WriteMetadataRef(formatter);
115 }


Calls: cmsxi::BinaryInstruction::WriteArgs , cmsxi::Instruction::WriteMetadataRef , cmsxi::Instruction::WriteResult


top | up | prev | next