[llvm-commits] [poolalloc] r115511 - /poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp

John Criswell criswell at uiuc.edu
Mon Oct 4 09:19:26 PDT 2010


Author: criswell
Date: Mon Oct  4 11:19:26 2010
New Revision: 115511

URL: http://llvm.org/viewvc/llvm-project?rev=115511&view=rev
Log:
Fixed assertion message.
No functionality changes.

Modified:
    poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp

Modified: poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp?rev=115511&r1=115510&r2=115511&view=diff
==============================================================================
--- poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp (original)
+++ poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp Mon Oct  4 11:19:26 2010
@@ -684,7 +684,7 @@
 void
 FuncTransform::visitRuntimeCheck (CallSite CS) {
   // A run-time check should have at least one argument for a pool
-  assert ((CS.arg_size() > 1) && "strdup takes one argument!");
+  assert ((CS.arg_size() > 1) && "Runtime check takes more than one argument!");
 
   //
   // Get the pool handle for the pointer argument.





More information about the llvm-commits mailing list