top | up | prev | next

NegInstruction Class

Definition at line 76 of Instruction.hpp

Constructors

NegInstruction(Value* arg_)

Member Functions

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

Constructor Details

NegInstruction Constructor

cmsxi::NegInstruction::NegInstruction(Value * arg_)

Definition at line 93 of Instruction.cpp :
 93 : UnaryInstruction(arg_)
 94 {
 95 }


Declaration at line 79 of Instruction.hpp


Member Function Details

Write Member Function

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

Definition at line 97 of Instruction.cpp :
 98 {
 99     WriteResult(formatterfunctioncontext);
100     formatter.Write(" = neg ");
101     WriteArg(formattercontext);
102     WriteMetadataRef(formatter);
103 }


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


top | up | prev | next