diff --git a/gcc/rtl-ssa/functions.h b/gcc/rtl-ssa/functions.h
index 25896fc1138ccfd00f633456efee432dc6539a75..f64bd3f290accbd54b586e8b2a753f7774dbf883 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 4b3eacbd4b4a706c09b94a361a3c9354b2730a6b..e1ab7d1ba84b8316981a0168b0e5b0e31dfa8f2d 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 };
 }