* cgraph.h (symbol_table): Just declare debug method here.
* symtab.c (symbol_table::debug): Define.
Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r259685
+2018-04-26 Richard Biener <rguenther@suse.de>
+ Jakub Jelinek <jakub@redhat.com>
+
+ * cgraph.h (symbol_table): Just declare debug method here.
+ * symtab.c (symbol_table::debug): Define.
+
2018-04-26 Eric Botcazou <ebotcazou@adacore.com>
* loop-invariant.c (may_assign_reg_p): Return false for frame pointer.
void dump (FILE *f);
/* Dump symbol table to stderr. */
- inline DEBUG_FUNCTION void debug (void)
- {
- dump (stderr);
- }
+ void DEBUG_FUNCTION debug (void);
/* Return true if assembler names NAME1 and NAME2 leads to the same symbol
name. */
node->dump (f);
}
+DEBUG_FUNCTION void
+symbol_table::debug (void)
+{
+ dump (stderr);
+}
+
/* Return the cgraph node that has ASMNAME for its DECL_ASSEMBLER_NAME.
Return NULL if there's no such node. */