top | up | prev | next

IntToPtrInstruction Class

Definition at line 211 of Instruction.hpp

Constructors

IntToPtrInstruction(Value* arg_, Type* destType_)

Member Functions

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

Constructor Details

IntToPtrInstruction Constructor

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

Definition at line 331 of Instruction.cpp :
331 : UnaryTypeInstruction(arg_destType_)
332 {
333 }


Declaration at line 214 of Instruction.hpp


Member Function Details

Write Member Function

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

Definition at line 335 of Instruction.cpp :
336 {
337     WriteResult(formatterfunctioncontext);
338     formatter.Write(" = inttoptr ");
339     WriteArg(formattercontext);
340     WriteMetadataRef(formatter);
341 }


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


top | up | prev | next