| 610 | } |
| 611 | |
| 612 | boost::shared_ptr<code_gen::function> |
| 613 | compiler::find_function(std::string const& name) const |
| 614 | { |
| 615 | function_table::const_iterator i = functions.find(name); |
| 616 | if (i == functions.end()) |
| 617 | return boost::shared_ptr<code_gen::function>(); |
| 618 | else |
| 619 | return i->second; |
| 620 | } |
| 621 | }} |
| 622 |