top | up | prev | next

MulInstruction Class

Definition at line 97 of Instruction.hpp

Constructors

MulInstruction(Value* left_, Value* right_)

Member Functions

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

Constructor Details

MulInstruction Constructor

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

Definition at line 129 of Instruction.cpp :
129 : BinaryInstruction(left_right_)
130 {
131 }


Declaration at line 100 of Instruction.hpp


Member Function Details

Write Member Function

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

Definition at line 133 of Instruction.cpp :
134 {
135     WriteResult(formatterfunctioncontext);
136     formatter.Write(" = mul ");
137     WriteArgs(formattercontext);
138     WriteMetadataRef(formatter);
139 }


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


top | up | prev | next