top | up | prev | next

TruncateInstruction Class

Definition at line 183 of Instruction.hpp

Constructors

TruncateInstruction(Value* arg_, Type* destType_)

Member Functions

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

Constructor Details

TruncateInstruction Constructor

cmsxi::TruncateInstruction::TruncateInstruction(Value * arg_, Type * destType_)

Definition at line 283 of Instruction.cpp :
283 : UnaryTypeInstruction(arg_destType_)
284 {
285 }


Declaration at line 186 of Instruction.hpp


Member Function Details

Write Member Function

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

Definition at line 287 of Instruction.cpp :
288 {
289     WriteResult(formatterfunctioncontext);
290     formatter.Write(" = truncate ");
291     WriteArg(formattercontext);
292     WriteMetadataRef(formatter);
293 }


Calls: cmsxi::Instruction::WriteMetadataRef , cmsxi::Instruction::WriteResult , cmsxi::UnaryInstruction::WriteArg


top | up | prev | next