top | up | prev | next

TrapInstruction Abstract Class

Definition at line 358 of Instruction.hpp

Constructors

TrapInstruction(Value* b0_, Value* b1_, Value* b2_)

Member Functions

Type* GetType(Context& context) override
void Write(CodeFormatter& formatter, Function& function, Context& context)

Member Variables

Value* b0
Value* b1
Value* b2

Constructor Details

TrapInstruction Constructor

cmsxi::TrapInstruction::TrapInstruction(Value * b0_, Value * b1_, Value * b2_)

Definition at line 655 of Instruction.cpp :
655 : Instruction()b0(b0_)b1(b1_)b2(b2_)
656 {
657 }


Declaration at line 361 of Instruction.hpp


Member Function Details

GetType Member Function

Type * cmsxi::TrapInstruction::GetType(Context & context) override

Definition at line 659 of Instruction.cpp :
660 {
661     return context.GetLongType();
662 }


Declaration at line 362 of Instruction.hpp

Base class overridden functions: cmsxi::Instruction::GetType , cmsxi::Value::GetType

Calls: cmsxi::Context::GetLongType


Write Member Function

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

Definition at line 664 of Instruction.cpp

Calls: cmsxi::Instruction::WriteMetadataRef , cmsxi::Instruction::WriteResult , cmsxi::Type::Name , cmsxi::Value::GetType , cmsxi::Value::Name


top | up | prev | next