LRDE Tiger Compiler
1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
basic-block.hxx
Go to the documentation of this file.
1
6
#ifndef CANON_BASIC_BLOCK_HXX
7
# define CANON_BASIC_BLOCK_HXX
8
9
# include <
canon/basic-block.hh
>
10
11
namespace
canon
12
{
13
14
inline
15
BasicBlock::BasicBlock
(tree_list_type::iterator begin,
16
tree_list_type::iterator end)
17
: trees_(
tree_list_type
(begin, end))
18
{}
19
20
inline
const
BasicBlock
*
21
BasicBlock::push_back
(
const
rTree
& tree)
22
{
23
trees_
.push_back(tree);
24
return
this
;
25
}
26
27
inline
BasicBlock::tree_list_type
&
28
BasicBlock::trees_get
()
29
{
30
return
trees_
;
31
}
32
33
inline
std::ostream&
34
operator<<
(std::ostream& ostr,
const
BasicBlock
& block)
35
{
36
return
block.
dump
(ostr);
37
}
38
39
}
40
41
#endif // !CANON_BASIC_BLOCK_HXX
canon
basic-block.hxx
Generated on Wed Mar 5 2014 15:47:36 for LRDE Tiger Compiler by
1.8.1.2