lestes::backend_v2::workers::useless_code_eliminator Class Reference

Removes useless code from a function body. More...

#include <useless_code_eliminator.g.hh>

Inheritance diagram for lestes::backend_v2::workers::useless_code_eliminator:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void process ()
 Eliminates a uselesss code.
ptr< ::lestes::backend_v2::structs::func_dataget_result ()
 Returns data of a currently processed function without a useless code.
void set_register_user (ulint reg_id, ptr< ::lestes::backend_v2::intercode::pi_mem_factory > user, ptr< map< ulint, srp< ::lestes::backend_v2::intercode::pi_mem_factory > > > reg2user)
virtual ptr< reflection_listreflection_get () const
 for purposes of dumping
virtual ptr< field_list_listfield_values_get () const
 for purposes of dumping

Static Public Member Functions

static ptr< useless_code_eliminatorcreate (ptr< ::lestes::backend_v2::structs::func_data > a__worker_base__data)
 First generated factory method for class useless_code_eliminator.

Protected Member Functions

 useless_code_eliminator (ptr< ::lestes::backend_v2::structs::func_data > a__worker_base__data)
 Generated constructor for class useless_code_eliminator.
virtual void gc_mark ()
 Marking routine for class useless_code_eliminator.

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Removes useless code from a function body.


Constructor & Destructor Documentation

lestes::backend_v2::workers::useless_code_eliminator::useless_code_eliminator ( ptr< ::lestes::backend_v2::structs::func_data a__worker_base__data  )  [protected]

Generated constructor for class useless_code_eliminator.

Generated constructor for class useless_code_eliminator.

Author:
lsg


Member Function Documentation

void lestes::backend_v2::workers::useless_code_eliminator::process (  )  [virtual]

Eliminates a uselesss code.

Implements lestes::backend_v2::workers::worker_base.

ptr< func_data > lestes::backend_v2::workers::useless_code_eliminator::get_result (  )  [virtual]

Returns data of a currently processed function without a useless code.

Implements lestes::backend_v2::workers::worker_base.

void lestes::backend_v2::workers::useless_code_eliminator::set_register_user ( ulint  reg_id,
ptr< ::lestes::backend_v2::intercode::pi_mem_factory user,
ptr< map< ulint, srp< ::lestes::backend_v2::intercode::pi_mem_factory > > >  reg2user 
)

ptr< useless_code_eliminator > lestes::backend_v2::workers::useless_code_eliminator::create ( ptr< ::lestes::backend_v2::structs::func_data a__worker_base__data  )  [static]

First generated factory method for class useless_code_eliminator.

This factory method for class useless_code_eliminator takes values of all fields as arguments.

Author:
lsg

ptr< object::reflection_list > lestes::backend_v2::workers::useless_code_eliminator::reflection_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::backend_v2::workers::worker_base.

ptr< object::field_list_list > lestes::backend_v2::workers::useless_code_eliminator::field_values_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::backend_v2::workers::worker_base.

void lestes::backend_v2::workers::useless_code_eliminator::gc_mark ( void   )  [protected, virtual]

Marking routine for class useless_code_eliminator.

Marking routine is used for garbage collection.

Author:
lsg

Reimplemented from lestes::backend_v2::workers::worker_base.


Member Data Documentation

ptr< object::reflection_list > lestes::backend_v2::workers::useless_code_eliminator::reflection = reflection [static, private]

Reimplemented from lestes::backend_v2::workers::worker_base.


The documentation for this class was generated from the following files:
Generated on Mon Feb 12 18:43:19 2007 for lestes by doxygen 1.5.1-20070107