top | up | prev | next

ShrInstruction Class

Definition at line 146 of Instruction.hpp

Constructors

ShrInstruction(Value* left_, Value* right_)

Member Functions

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

Constructor Details

ShrInstruction Constructor

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

Definition at line 213 of Instruction.cpp :
213 : BinaryInstruction(left_right_)
214 {
215 }


Declaration at line 149 of Instruction.hpp


Member Function Details

Write Member Function

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

Definition at line 217 of Instruction.cpp :
218 {
219     WriteResult(formatterfunctioncontext);
220     formatter.Write(" = shr ");
221     WriteArgs(formattercontext);
222     WriteMetadataRef(formatter);
223 }


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


top | up | prev | next