File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 1717 * \date Sun Jul 31 21:54:44 BST 2011
1818*/
1919
20- #include " expr .h"
20+ #include " std_expr .h"
2121
2222/* ! \brief TO_BE_DOCUMENTED
2323*/
24- class byte_extract_exprt :public exprt
24+ class byte_extract_exprt :public binary_exprt
2525{
2626public:
27- explicit byte_extract_exprt (irep_idt _id):exprt (_id)
27+ explicit byte_extract_exprt (irep_idt _id):binary_exprt (_id)
2828 {
29- operands ().resize (2 );
3029 }
3130
3231 explicit byte_extract_exprt (irep_idt _id, const typet &_type):
33- exprt (_id, _type)
32+ binary_exprt (_id, _type)
3433 {
35- operands ().resize (2 );
3634 }
3735
3836 byte_extract_exprt (
3937 irep_idt _id,
4038 const exprt &_op, const exprt &_offset, const typet &_type):
41- exprt (_id, _type)
39+ binary_exprt (_id, _type)
4240 {
43- copy_to_operands (_op, _offset);
41+ op ()=_op;
42+ offset ()=_offset;
4443 }
4544
4645 exprt &op () { return op0 (); }
You can’t perform that action at this time.
0 commit comments