diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2021-01-15 16:45:40 +0000 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2021-01-15 16:45:40 +0000 |
commit | 7f6cdaa9a8da173ab9e93009f5b7ff427c7f964d (patch) | |
tree | 660e8622393c116ea326adb34562a40abbcc31cd | |
parent | f9a577927eb08a413a1f48139e36850fa86628b3 (diff) | |
download | gcc-7f6cdaa9a8da173ab9e93009f5b7ff427c7f964d.zip gcc-7f6cdaa9a8da173ab9e93009f5b7ff427c7f964d.tar.gz gcc-7f6cdaa9a8da173ab9e93009f5b7ff427c7f964d.tar.bz2 |
rtl-ssa: Fix a silly typo
s/ref/reg/ on a previously unused function name.
gcc/
* rtl-ssa/functions.h (function_info::ref_defs): Rename to...
(function_info::reg_defs): ...this.
* rtl-ssa/member-fns.inl (function_info::ref_defs): Rename to...
(function_info::reg_defs): ...this.
-rw-r--r-- | gcc/rtl-ssa/functions.h | 2 | ||||
-rw-r--r-- | gcc/rtl-ssa/member-fns.inl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rtl-ssa/functions.h b/gcc/rtl-ssa/functions.h index 25896fc..f64bd3f 100644 --- a/gcc/rtl-ssa/functions.h +++ b/gcc/rtl-ssa/functions.h @@ -100,7 +100,7 @@ public: // Return a list of all definitions of register REGNO, in reverse postorder. // This includes both real stores by instructions and artificial // definitions by things like phi nodes. - iterator_range<def_iterator> ref_defs (unsigned int regno) const; + iterator_range<def_iterator> reg_defs (unsigned int regno) const; // Check if all uses of register REGNO are either unconditionally undefined // or use the same single dominating definition. Return the definition diff --git a/gcc/rtl-ssa/member-fns.inl b/gcc/rtl-ssa/member-fns.inl index 4b3eacb..e1ab7d1 100644 --- a/gcc/rtl-ssa/member-fns.inl +++ b/gcc/rtl-ssa/member-fns.inl @@ -883,7 +883,7 @@ function_info::mem_defs () const } inline iterator_range<def_iterator> -function_info::ref_defs (unsigned int regno) const +function_info::reg_defs (unsigned int regno) const { return { m_defs[regno + 1], nullptr }; } |