summaryrefslogtreecommitdiff
path: root/gcc/ipa-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ipa-utils.h')
-rw-r--r--gcc/ipa-utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ipa-utils.h b/gcc/ipa-utils.h
index cc72619348e..ca8b87290b5 100644
--- a/gcc/ipa-utils.h
+++ b/gcc/ipa-utils.h
@@ -117,8 +117,8 @@ possible_polymorphic_call_target_p (tree call,
struct cgraph_node *n)
{
return possible_polymorphic_call_target_p (obj_type_ref_class (call),
- tree_low_cst
- (OBJ_TYPE_REF_TOKEN (call), 1),
+ tree_to_uhwi
+ (OBJ_TYPE_REF_TOKEN (call)),
n);
}
#endif /* GCC_IPA_UTILS_H */