return false;
}
+/* Return true if this node represents a former, i.e. an expanded, thunk. */
+
+bool
+cgraph_node::former_thunk_p (void)
+{
+ if (thunk)
+ return false;
+ thunk_info *i = thunk_info::get (this);
+ if (!i)
+ return false;
+ gcc_checking_assert (i->fixed_offset || i->virtual_offset_p
+ || i->indirect_offset);
+ return true;
+}
+
/* A stashed copy of "symtab" for use by selftest::symbol_table_test.
This needs to be a global so that it can be a GC root, and thus
prevent the stashed copy from being garbage-collected if the GC runs
} // namespace selftest
-/* Return true if this node represents a former, i.e. an expanded, thunk. */
-
-bool
-cgraph_node::former_thunk_p (void)
-{
- if (thunk)
- return false;
- thunk_info *i = thunk_info::get (this);
- if (!i)
- return false;
- gcc_checking_assert (i->fixed_offset || i->virtual_offset_p
- || i->indirect_offset);
- return true;
-}
-
#endif /* CHECKING_P */
#include "gt-cgraph.h"