This moves the definition of symbol::value_block outside of the class.
A subsequent patch will change this method to use SYMBOL_BLOCK_OPS,
and it seemed simplest to move this method out-of-line, and cleaner to
do this as a separate change.
m_value.common_block = common_block;
}
- const block *value_block () const
- {
- return m_value.block;
- }
+ const block *value_block () const;
void set_value_block (const block *block)
{
#define SYMBOL_REGISTER_OPS(symbol) ((symbol)->impl ().ops_register)
#define SYMBOL_LOCATION_BATON(symbol) (symbol)->aux_value
+inline const block *
+symbol::value_block () const
+{
+ return m_value.block;
+}
+
extern int register_symbol_computed_impl (enum address_class,
const struct symbol_computed_ops *);