From 8d42a27d8942e16e351d138955280a848d7b432a Mon Sep 17 00:00:00 2001 From: Aldy Hernandez Date: Sun, 19 Sep 2021 16:54:21 +0200 Subject: Make dump_ranger routines externally visible. There was an inline extern declaration for dump_ranger that was a bit of a hack. I've removed it in favor of an actual prototype. There are also some trivial changes to the dumping code in the path solver. gcc/ChangeLog: * gimple-range-path.cc (path_range_query::path_range_query): Add header. (path_range_query::dump): Remove extern declaration of dump_ranger. * gimple-range-trace.cc (dump_ranger): Add DEBUG_FUNCTION marker. * gimple-range-trace.h (dump_ranger): Add prototype. --- gcc/gimple-range-trace.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/gimple-range-trace.cc') diff --git a/gcc/gimple-range-trace.cc b/gcc/gimple-range-trace.cc index 5175d14..2417c21 100644 --- a/gcc/gimple-range-trace.cc +++ b/gcc/gimple-range-trace.cc @@ -176,7 +176,7 @@ push_dump_file::~push_dump_file () // Dump all that ranger knows for the current function. -DEBUG_FUNCTION void +void dump_ranger (FILE *out) { push_dump_file save (out, dump_flags); @@ -201,7 +201,7 @@ debug_ranger () // Note that the blocks are in reverse order, thus the exit block is // path[0]. -DEBUG_FUNCTION void +void dump_ranger (FILE *dump_file, const vec &path) { if (path.length () == 0) -- cgit v1.1