aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/formal/SymbolicIntVariable.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsolidity/formal/SymbolicIntVariable.h')
-rw-r--r--libsolidity/formal/SymbolicIntVariable.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/libsolidity/formal/SymbolicIntVariable.h b/libsolidity/formal/SymbolicIntVariable.h
index 92eeb13d..110ebb09 100644
--- a/libsolidity/formal/SymbolicIntVariable.h
+++ b/libsolidity/formal/SymbolicIntVariable.h
@@ -37,15 +37,12 @@ public:
);
/// Sets the var to 0.
- void setZeroValue(int _seq);
+ void setZeroValue();
/// Sets the variable to the full valid value range.
- void setUnknownValue(int _seq);
-
- static smt::Expression minValue(IntegerType const& _t);
- static smt::Expression maxValue(IntegerType const& _t);
+ virtual void setUnknownValue();
protected:
- smt::Expression valueAtSequence(int _seq) const;
+ smt::Expression valueAtIndex(int _index) const;
};
}