File tree 1 file changed +7
-5
lines changed 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -650,20 +650,22 @@ static irep_idt get_if_cmp_operator(const irep_idt &stmt)
650
650
// / Build a member exprt for accessing a specific field that may come from a
651
651
// / base class.
652
652
// / \param pointer: The expression to access the field on.
653
- // / \param fieldref : A getfield/setfield instruction produced by the bytecode
653
+ // / \param field_reference : A getfield/setfield instruction produced by the bytecode
654
654
// / parser.
655
655
// / \param ns: Global namespace
656
656
// / \return A member expression accessing the field, through base class
657
657
// / components if necessary.
658
- static member_exprt
659
- to_member (const exprt &pointer, const exprt &fieldref, const namespacet &ns)
658
+ static member_exprt to_member (
659
+ const exprt &pointer,
660
+ const exprt &field_reference,
661
+ const namespacet &ns)
660
662
{
661
- struct_tag_typet class_type (fieldref .get (ID_class));
663
+ struct_tag_typet class_type (field_reference .get (ID_class));
662
664
663
665
const exprt typed_pointer =
664
666
typecast_exprt::conditional_cast (pointer, java_reference_type (class_type));
665
667
666
- const irep_idt &component_name = fieldref .get (ID_component_name);
668
+ const irep_idt &component_name = field_reference .get (ID_component_name);
667
669
668
670
exprt accessed_object = checked_dereference (typed_pointer, class_type);
669
671
You can’t perform that action at this time.
0 commit comments