File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,14 @@ address_of_exprt::address_of_exprt(const exprt &_op)
122
122
}
123
123
124
124
object_address_exprt::object_address_exprt (const symbol_exprt &object)
125
- : nullary_exprt(ID_object_address, pointer_type(object.type()))
125
+ : object_address_exprt(object, pointer_type(object.type()))
126
+ {
127
+ }
128
+
129
+ object_address_exprt::object_address_exprt (
130
+ const symbol_exprt &object,
131
+ pointer_typet type)
132
+ : nullary_exprt(ID_object_address, std::move(type))
126
133
{
127
134
set (ID_identifier, object.get_identifier ());
128
135
}
Original file line number Diff line number Diff line change @@ -418,6 +418,8 @@ class object_address_exprt : public nullary_exprt
418
418
public:
419
419
explicit object_address_exprt (const symbol_exprt &);
420
420
421
+ object_address_exprt (const symbol_exprt &, pointer_typet);
422
+
421
423
irep_idt object_identifier () const
422
424
{
423
425
return get (ID_identifier);
You can’t perform that action at this time.
0 commit comments