top | up | prev | next

SubInstruction Class

Definition at line 90 of Instruction.hpp

Constructors

SubInstruction(Value* left_, Value* right_)

Member Functions

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

Constructor Details

SubInstruction Constructor

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

Definition at line 117 of Instruction.cpp :
117 : BinaryInstruction(left_right_)
118 {
119 }


Declaration at line 93 of Instruction.hpp


Member Function Details

Write Member Function

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

Definition at line 121 of Instruction.cpp :
122 {
123     WriteResult(formatterfunctioncontext);
124     formatter.Write(" = sub ");
125     WriteArgs(formattercontext);
126     WriteMetadataRef(formatter);
127 }


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


top | up | prev | next