* ipa-polymorphic-call.c (noncall_stmt_may_be_vtbl_ptr_store): Fix
a comment typo, get_base_ref_and_offset -> get_ref_base_and_extent.
* ipa-prop.c (stmt_may_be_vtbl_ptr_store): Likewise.
From-SVN: r255513
+2017-12-08 Jakub Jelinek <jakub@redhat.com>
+
+ * ipa-polymorphic-call.c (noncall_stmt_may_be_vtbl_ptr_store): Fix
+ a comment typo, get_base_ref_and_offset -> get_ref_base_and_extent.
+ * ipa-prop.c (stmt_may_be_vtbl_ptr_store): Likewise.
+
2017-12-08 Richard Biener <rguenther@suse.de>
PR middle-end/81782
if (TREE_CODE (lhs) == COMPONENT_REF
&& !DECL_VIRTUAL_P (TREE_OPERAND (lhs, 1)))
return false;
- /* In the future we might want to use get_base_ref_and_offset to find
+ /* In the future we might want to use get_ref_base_and_extent to find
if there is a field corresponding to the offset and if so, proceed
almost like if it was a component ref. */
}
if (TREE_CODE (lhs) == COMPONENT_REF
&& !DECL_VIRTUAL_P (TREE_OPERAND (lhs, 1)))
return false;
- /* In the future we might want to use get_base_ref_and_offset to find
+ /* In the future we might want to use get_ref_base_and_extent to find
if there is a field corresponding to the offset and if so, proceed
almost like if it was a component ref. */
}