about summary refs log tree commit diff homepage
path: root/lib/Expr/Updates.cpp
diff options
context:
space:
mode:
authorHristina Palikareva <h.palikareva@imperial.ac.uk>2014-04-16 17:56:13 +0100
committerHristina Palikareva <h.palikareva@imperial.ac.uk>2014-04-16 18:11:55 +0100
commitaa8cc67c0d8c16388ebe670757327a81f774d0ee (patch)
tree1ee1a08cff55c96cbc169a88a9516c0b933295ad /lib/Expr/Updates.cpp
parent7f44b9346356c91f633c6de6939c33a45756ae7e (diff)
downloadklee-aa8cc67c0d8c16388ebe670757327a81f774d0ee.tar.gz
Removing a few more hard-coded values for domains and ranges of Array objects
Diffstat (limited to 'lib/Expr/Updates.cpp')
-rw-r--r--lib/Expr/Updates.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Expr/Updates.cpp b/lib/Expr/Updates.cpp
index 14fd8308..107cf9d4 100644
--- a/lib/Expr/Updates.cpp
+++ b/lib/Expr/Updates.cpp
@@ -22,8 +22,12 @@ UpdateNode::UpdateNode(const UpdateNode *_next,
     next(_next),
     index(_index),
     value(_value) {
+  // FIXME: What we need to check here instead is that _value is of the same width 
+  // as the range of the array that the update node is part of.
+  /*
   assert(_value->getWidth() == Expr::Int8 && 
          "Update value should be 8-bit wide.");
+  */
   computeHash();
   if (next) {
     ++next->refCount;