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.
This commit is contained in:
parent
f9a577927e
commit
7f6cdaa9a8
@ -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
|
||||
|
@ -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 };
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user