summaryrefslogtreecommitdiff
path: root/gcc/java/class.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/class.c')
-rw-r--r--gcc/java/class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c
index 3bb5ff44f6e..ac69319349a 100644
--- a/gcc/java/class.c
+++ b/gcc/java/class.c
@@ -1266,7 +1266,7 @@ build_static_field_ref (tree fdecl)
int cpool_index = alloc_constant_fieldref (output_class, fdecl);
tree cache_entry = build_fieldref_cache_entry (cpool_index, fdecl);
tree test
- = build_call_expr (built_in_decls[BUILT_IN_EXPECT], 2,
+ = build_call_expr (builtin_decl_implicit (BUILT_IN_EXPECT), 2,
build2 (EQ_EXPR, boolean_type_node,
cache_entry, null_pointer_node),
boolean_false_node);