projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Multiply was very wrong for wrapped ranges. This supplies a half-fix that will
[oota-llvm.git]
/
unittests
/
Support
/
ValueHandleTest.cpp
diff --git
a/unittests/Support/ValueHandleTest.cpp
b/unittests/Support/ValueHandleTest.cpp
index 89c82504216e32d222420070911ca8f6463ee0f7..336e7d90dc913e0bc58a2347f28ac7abfe276b5f 100644
(file)
--- a/
unittests/Support/ValueHandleTest.cpp
+++ b/
unittests/Support/ValueHandleTest.cpp
@@
-296,7
+296,7
@@
TEST_F(ValueHandle, CallbackVH_DeletionCanRAUW) {
}
virtual void allUsesReplacedWith(Value *new_value) {
ASSERT_TRUE(NULL != getValPtr());
- EXPECT_EQ(1, getValPtr()->getNumUses());
+ EXPECT_EQ(1
U
, getValPtr()->getNumUses());
EXPECT_EQ(NULL, AURWArgument);
AURWArgument = new_value;
}