LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
assem::Label Class Reference

#include <label.hh>

Inheritance diagram for assem::Label:
Collaboration diagram for assem::Label:

Public Member Functions

 Label (const std::string &assem, const temp::Label &label)
temp::Label label_get () const
const temp::temp_list_typeuse () const
temp::temp_list_typeuse ()
const temp::temp_list_typedef () const
temp::temp_list_typedef ()
const temp::label_list_typejumps () const
virtual std::ostream & dump (std::ostream &ostr) const
 Output the TempMap m onto ostr.

Static Public Attributes

static const misc::xalloc< bool > debug
 Set whether Instr::print report debugging information? Return the previous value.

Protected Attributes

std::string assem_
temp::temp_list_type use_
temp::temp_list_type def_
temp::label_list_type jumps_

Private Attributes

temp::Label label_

Constructor & Destructor Documentation

assem::Label::Label ( const std::string &  assem,
const temp::Label label 
)
inline

Member Function Documentation

const temp::temp_list_type & assem::Instr::def ( ) const
inlineinherited
temp::temp_list_type & assem::Instr::def ( )
inlineinherited

References assem::Instr::def_.

std::ostream & assem::Instr::dump ( std::ostream &  ostr) const
virtualinherited
const temp::label_list_type & assem::Instr::jumps ( ) const
inlineinherited

References assem::Instr::jumps_.

Referenced by assem::Instr::dump().

temp::Label assem::Label::label_get ( ) const
inline

References label_.

Referenced by assem::Instrs::label_find().

const temp::temp_list_type & assem::Instr::use ( ) const
inlineinherited
temp::temp_list_type & assem::Instr::use ( )
inlineinherited

References assem::Instr::use_.

Member Data Documentation

std::string assem::Instr::assem_
protectedinherited
const misc::xalloc< bool > assem::Instr::debug
staticinherited

Set whether Instr::print report debugging information? Return the previous value.

Referenced by assem::Instr::dump(), and target::instructions_dump().

temp::temp_list_type assem::Instr::def_
protectedinherited
temp::label_list_type assem::Instr::jumps_
protectedinherited

Referenced by assem::Instr::jumps().

temp::Label assem::Label::label_
private

Referenced by label_get().

temp::temp_list_type assem::Instr::use_
protectedinherited

The documentation for this class was generated from the following files: