top | up | prev | next

PtrToIntInstruction Class

Definition at line 218 of Instruction.hpp

Constructors

PtrToIntInstruction(Value* arg_, Type* destType_)

Member Functions

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

Constructor Details

PtrToIntInstruction Constructor

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

Definition at line 343 of Instruction.cpp :
343 : UnaryTypeInstruction(arg_destType_)
344 {
345 }


Declaration at line 221 of Instruction.hpp


Member Function Details

Write Member Function

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

Definition at line 347 of Instruction.cpp :
348 {
349     WriteResult(formatterfunctioncontext);
350     formatter.Write(" = ptrtoint ");
351     WriteArg(formattercontext);
352     WriteMetadataRef(formatter);
353 }


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


top | up | prev | next