DARWIN sync wibble.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9929
This commit is contained in:
Nicholas Nethercote 2009-05-19 02:10:26 +00:00
parent 6311a67c7e
commit 8c62b7fd36

View File

@ -155,6 +155,7 @@ MC_Chunk* create_MC_Chunk ( ExeContext* ec, Addr p, SizeT szB,
/*--- client_malloc(), etc ---*/
/*------------------------------------------------------------*/
// XXX: should make this a proper error (bug #79311).
static Bool complain_about_silly_args(SizeT sizeB, Char* fn)
{
// Cast to a signed type to catch any unexpectedly negative args. We're
@ -487,6 +488,7 @@ SizeT MC_(malloc_usable_size) ( ThreadId tid, void* p )
return ( mc ? mc->szB : 0 );
}
/* Memory pool stuff. */
void MC_(create_mempool)(Addr pool, UInt rzB, Bool is_zeroed)