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 16:11:02 +0000
committerDan Liew <daniel.liew@imperial.ac.uk>2014-02-14 18:29:35 +0000
commite70cd5b0764fe50f1e081a7d3e8e81fd623aa090 (patch)
tree6c4876d74b52186873b6c8ef75f6d86bc10404d4 /lib/Solver/STPBuilder.h
parent8083ab1821790bf9d865e3a19e88987e50d152b5 (diff)
downloadklee-e70cd5b0764fe50f1e081a7d3e8e81fd623aa090.tar.gz
Remove STPBuilder::getShiftBits() which is no longer used.
Diffstat (limited to 'lib/Solver/STPBuilder.h')
-rw-r--r--lib/Solver/STPBuilder.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/Solver/STPBuilder.h b/lib/Solver/STPBuilder.h
index 42ca9eaf..ef1cd8b3 100644
--- a/lib/Solver/STPBuilder.h
+++ b/lib/Solver/STPBuilder.h
@@ -79,13 +79,6 @@ class STPBuilder {
   STPArrayExprHash _arr_hash;
 
 private:  
-  unsigned getShiftBits(unsigned amount) {
-    unsigned bits = 1;
-    amount--;
-    while (amount >>= 1)
-      bits++;
-    return bits;
-  }
 
   ExprHandle bvOne(unsigned width);
   ExprHandle bvZero(unsigned width);