hash_map<const_tree, hashval_t> sem_item::m_type_hash_cache;
-/* Semantic function constructor that uses STACK as bitmap memory stack. */
-
-sem_function::sem_function (bitmap_obstack *stack)
- : sem_item (FUNC, stack), memory_access_types (), m_alias_sets_hash (0),
- m_checker (NULL), m_compared_func (NULL)
-{
- bb_sizes.create (0);
- bb_sorted.create (0);
-}
-
sem_function::sem_function (cgraph_node *node, bitmap_obstack *stack)
: sem_item (FUNC, node, stack), memory_access_types (),
m_alias_sets_hash (0), m_checker (NULL), m_compared_func (NULL)
return (*bb_dict)[source] == target;
}
-sem_variable::sem_variable (bitmap_obstack *stack): sem_item (VAR, stack)
-{
-}
-
sem_variable::sem_variable (varpool_node *node, bitmap_obstack *stack)
: sem_item (VAR, node, stack)
{
class sem_function: public sem_item
{
public:
- /* Semantic function constructor that uses STACK as bitmap memory stack. */
- sem_function (bitmap_obstack *stack);
/* Constructor based on callgraph node _NODE.
Bitmap STACK is used for memory allocation. */
class sem_variable: public sem_item
{
public:
- /* Semantic variable constructor that uses STACK as bitmap memory stack. */
- sem_variable (bitmap_obstack *stack);
-
/* Constructor based on callgraph node _NODE.
Bitmap STACK is used for memory allocation. */