top | up | prev | next

MDStructRef Class

Definition at line 69 of Metadata.hpp

Constructors

MDStructRef(int id_)

Member Functions

void Write(CodeFormatter& formatter)

Member Variables

int id

Constructor Details

MDStructRef Constructor

cmsxi::MDStructRef::MDStructRef(int id_)

Definition at line 56 of Metadata.cpp :
 56 : MDItem(MDItemKind::structRef)id(id_)
 57 {
 58 }


Declaration at line 72 of Metadata.hpp


Member Function Details

Write Member Function

void cmsxi::MDStructRef::Write(CodeFormatter& formatter)

Definition at line 60 of Metadata.cpp :
 61 {
 62     formatter.Write("!" + std::to_string(id));
 63 }


Calls: cmsxi::MDStructRef::Write

Called by: cmsxi::CompileUnit::Write , cmsxi::Instruction::WriteMetadataRef , cmsxi::MDStructRef::Write


top | up | prev | next