top | up | prev | next

ModInstruction Class

Definition at line 111 of Instruction.hpp

Constructors

ModInstruction(Value* left_, Value* right_)

Member Functions

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

Constructor Details

ModInstruction Constructor

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

Definition at line 153 of Instruction.cpp :
153 : BinaryInstruction(left_right_)
154 {
155 }


Declaration at line 114 of Instruction.hpp


Member Function Details

Write Member Function

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

Definition at line 157 of Instruction.cpp :
158 {
159     WriteResult(formatterfunctioncontext);
160     formatter.Write(" = mod ");
161     WriteArgs(formattercontext);
162     WriteMetadataRef(formatter);
163 }


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


top | up | prev | next