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

#include <instrs.hh>

Inheritance diagram for assem::Instrs:
Collaboration diagram for assem::Instrs:

Public Types

typedef std::list< Instr * > super_type
 Super class.

Public Member Functions

 Instrs ()
 Instrs (std::initializer_list< Instr * > l)
virtual ~Instrs ()
iterator label_find (const temp::Label &l)
 (Explicit)
virtual std::ostream & dump (std::ostream &ostr) const
 Report the instructions on ostr.
Disable copy construction and assignment.
 Instrs (const Instrs &)
Instrsoperator= (const Instrs &)
Allow move construction and assignment.
 Instrs (Instrs &&)
Instrsoperator= (Instrs &&)

Public Attributes

elements
 STL member.

Detailed Description

List of Instr.

This class has move semantics only: it cannot be copied through construction nor assignment.

Member Typedef Documentation

typedef std::list<Instr*> assem::Instrs::super_type

Super class.

Constructor & Destructor Documentation

assem::Instrs::Instrs ( )
assem::Instrs::Instrs ( std::initializer_list< Instr * >  l)
assem::Instrs::Instrs ( const Instrs )
assem::Instrs::Instrs ( Instrs &&  )
assem::Instrs::~Instrs ( )
virtual

References misc::deep_clear().

Member Function Documentation

std::ostream & assem::Instrs::dump ( std::ostream &  ostr) const
virtual

Report the instructions on ostr.

References assertion.

Referenced by assem::operator<<().

Instrs::iterator assem::Instrs::label_find ( const temp::Label l)

(Explicit)

References parse::tasks::l, and assem::Label::label_get().

Referenced by target::Codegen::frame_build().

Instrs& assem::Instrs::operator= ( const Instrs )
Instrs& assem::Instrs::operator= ( Instrs &&  )

Member Data Documentation

template<typename T>
T std::list< T >::elements
inherited

STL member.


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