File tree 1 file changed +7
-8
lines changed
1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 17
17
* \date Sun Jul 31 21:54:44 BST 2011
18
18
*/
19
19
20
- #include " expr .h"
20
+ #include " std_expr .h"
21
21
22
22
/* ! \brief TO_BE_DOCUMENTED
23
23
*/
24
- class byte_extract_exprt :public exprt
24
+ class byte_extract_exprt :public binary_exprt
25
25
{
26
26
public:
27
- explicit byte_extract_exprt (irep_idt _id):exprt (_id)
27
+ explicit byte_extract_exprt (irep_idt _id):binary_exprt (_id)
28
28
{
29
- operands ().resize (2 );
30
29
}
31
30
32
31
explicit byte_extract_exprt (irep_idt _id, const typet &_type):
33
- exprt (_id, _type)
32
+ binary_exprt (_id, _type)
34
33
{
35
- operands ().resize (2 );
36
34
}
37
35
38
36
byte_extract_exprt (
39
37
irep_idt _id,
40
38
const exprt &_op, const exprt &_offset, const typet &_type):
41
- exprt (_id, _type)
39
+ binary_exprt (_id, _type)
42
40
{
43
- copy_to_operands (_op, _offset);
41
+ op ()=_op;
42
+ offset ()=_offset;
44
43
}
45
44
46
45
exprt &op () { return op0 (); }
You can’t perform that action at this time.
0 commit comments