[llvm] r201451 - Remove tautological test line (unsigneds are always >=0).

Lang Hames lhames at gmail.com
Fri Feb 14 16:45:14 PST 2014


Author: lhames
Date: Fri Feb 14 18:45:14 2014
New Revision: 201451

URL: http://llvm.org/viewvc/llvm-project?rev=201451&view=rev
Log:
Remove tautological test line (unsigneds are always >=0).


Modified:
    llvm/trunk/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp

Modified: llvm/trunk/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp?rev=201451&r1=201450&r2=201451&view=diff
==============================================================================
--- llvm/trunk/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp (original)
+++ llvm/trunk/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp Fri Feb 14 18:45:14 2014
@@ -322,6 +322,5 @@ TEST_F(MCJITCAPITest, reserve_allocation
   EXPECT_LE(MM->UsedDataSizeRO, MM->ReservedDataSizeRO);
   EXPECT_LE(MM->UsedDataSizeRW, MM->ReservedDataSizeRW);
   EXPECT_TRUE(MM->UsedCodeSize > 0); 
-  EXPECT_TRUE(MM->UsedDataSizeRO >= 0);
   EXPECT_TRUE(MM->UsedDataSizeRW > 0);
 }





More information about the llvm-commits mailing list