Skip to content

Commit d2e10af

Browse files
author
thk123
committed
Remove the "fieldref" id
Since this was never being read, it adds no value
1 parent 2ba794d commit d2e10af

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/java_bytecode/java_bytecode_parse_tree.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ class fieldref_exprt : public exprt
232232
const typet &type,
233233
const irep_idt &component_name,
234234
const irep_idt &class_name)
235-
: exprt(ID_fieldref, type)
235+
: exprt(ID_empty_string, type)
236236
{
237237
set(ID_class, class_name);
238238
set(ID_component_name, component_name);

src/util/irep_ids.def

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,6 @@ IREP_ID_TWO(type_variables, #type_variables)
840840
IREP_ID_ONE(havoc_object)
841841
IREP_ID_TWO(overflow_shl, overflow-shl)
842842
IREP_ID_TWO(C_no_initialization_required, #no_initialization_required)
843-
IREP_ID_ONE(fieldref)
844843

845844
#undef IREP_ID_ONE
846845
#undef IREP_ID_TWO

0 commit comments

Comments
 (0)