File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ Author: Daniel Kroening, kroening@kroening.com
10
10
#ifndef CPROVER_UTIL_EXPR_H
11
11
#define CPROVER_UTIL_EXPR_H
12
12
13
- #define OPERANDS_IN_GETSUB
14
-
15
13
#include < functional>
16
14
#include " type.h"
17
15
@@ -67,18 +65,10 @@ class exprt:public irept
67
65
{ return !operands ().empty (); }
68
66
69
67
operandst &operands ()
70
- #ifdef OPERANDS_IN_GETSUB
71
68
{ return (operandst &)get_sub (); }
72
- #else
73
- { return (operandst &)(add (ID_operands).get_sub ()); }
74
- #endif
75
69
76
70
const operandst &operands () const
77
- #ifdef OPERANDS_IN_GETSUB
78
71
{ return (const operandst &)get_sub (); }
79
- #else
80
- { return (const operandst &)(find (ID_operands).get_sub ()); }
81
- #endif
82
72
83
73
exprt &op0 ()
84
74
{ return operands ().front (); }
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ IREP_ID_TWO(empty_string, )
5
5
IREP_ID_ONE(let)
6
6
IREP_ID_ONE(nil)
7
7
IREP_ID_ONE(type)
8
- IREP_ID_ONE(operands)
9
8
IREP_ID_ONE(bool)
10
9
IREP_ID_ONE(c_bool)
11
10
IREP_ID_ONE(proper_bool)
You can’t perform that action at this time.
0 commit comments