top | up | prev | next

DivInstruction Class

Definition at line 104 of Instruction.hpp

Constructors

DivInstruction(Value* left_, Value* right_)

Member Functions

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

Constructor Details

DivInstruction Constructor

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

Definition at line 141 of Instruction.cpp :
141 : BinaryInstruction(left_right_)
142 {
143 }


Declaration at line 107 of Instruction.hpp


Member Function Details

Write Member Function

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

Definition at line 145 of Instruction.cpp :
146 {
147     WriteResult(formatterfunctioncontext);
148     formatter.Write(" = div ");
149     WriteArgs(formattercontext);
150     WriteMetadataRef(formatter);
151 }


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


top | up | prev | next