about summary refs log tree commit diff homepage
path: root/lib/Solver/STPBuilder.h
diff options
context:
space:
mode:
authorDan Liew <daniel.liew@imperial.ac.uk>2013-11-07 14:45:22 +0000
committerDan Liew <daniel.liew@imperial.ac.uk>2014-02-14 18:29:28 +0000
commit71048bea167794f109b2f0b715b6cc1ba8b6eab9 (patch)
treed610b541607462e9f465ef2ee0e4d257b48491f1 /lib/Solver/STPBuilder.h
parent207d3aff50cc4bed2adf12819a96fc4254a3d6e6 (diff)
downloadklee-71048bea167794f109b2f0b715b6cc1ba8b6eab9.tar.gz
Fixed overshift of logical right shift by symbolic so that it overshifts
to zero. Test case is included.
Diffstat (limited to 'lib/Solver/STPBuilder.h')
-rw-r--r--lib/Solver/STPBuilder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Solver/STPBuilder.h b/lib/Solver/STPBuilder.h
index 90061784..828c267d 100644
--- a/lib/Solver/STPBuilder.h
+++ b/lib/Solver/STPBuilder.h
@@ -103,7 +103,7 @@ private:
   ExprHandle bvLeftShift(ExprHandle expr, unsigned shift);
   ExprHandle bvRightShift(ExprHandle expr, unsigned amount, unsigned shiftBits);
   ExprHandle bvVarLeftShift(ExprHandle expr, ExprHandle shift);
-  ExprHandle bvVarRightShift(ExprHandle expr, ExprHandle amount, unsigned width);
+  ExprHandle bvVarRightShift(ExprHandle expr, ExprHandle shift);
   ExprHandle bvVarArithRightShift(ExprHandle expr, ExprHandle amount, unsigned width);
 
   ExprHandle constructAShrByConstant(ExprHandle expr, unsigned shift,