diff options
Diffstat (limited to 'gcc/cfglayout.c')
-rw-r--r-- | gcc/cfglayout.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cfglayout.c b/gcc/cfglayout.c index e989344..c350883 100644 --- a/gcc/cfglayout.c +++ b/gcc/cfglayout.c @@ -54,7 +54,7 @@ static void change_scope (rtx, tree, tree); void verify_insn_chain (void); static void fixup_fallthru_exit_predecessor (void); -static tree insn_scope (rtx); +static tree insn_scope (const_rtx); rtx unlink_insn_chain (rtx first, rtx last) @@ -451,7 +451,7 @@ change_scope (rtx orig_insn, tree s1, tree s2) /* Return lexical scope block insn belong to. */ static tree -insn_scope (rtx insn) +insn_scope (const_rtx insn) { int max = VEC_length (int, block_locators_locs); int min = 0; @@ -528,7 +528,7 @@ locator_line (int loc) /* Return line number of the statement that produced this insn. */ int -insn_line (rtx insn) +insn_line (const_rtx insn) { return locator_line (INSN_LOCATOR (insn)); } @@ -547,7 +547,7 @@ locator_file (int loc) /* Return source file of the statement that produced this insn. */ const char * -insn_file (rtx insn) +insn_file (const_rtx insn) { return locator_file (INSN_LOCATOR (insn)); } |