Not much progess. Priority has to be in fixing debug_printf.
This commit is contained in:
parent
aa0d60bbed
commit
dd4176e20b
3 changed files with 13 additions and 8 deletions
|
|
@ -109,8 +109,11 @@ struct pso_pointer pop_freelist( uint8_t size_class ) {
|
|||
* on the freelist, but again we should sanity check. */
|
||||
if ( object->header.count != 0 ) {
|
||||
fwprintf( stderr,
|
||||
L"WARNING: Request to allocate object of size class %d, which is not implemented",
|
||||
size_class );
|
||||
L"WARNING: Count of %d in newly allocated object at %d, %d, should be 0\n",
|
||||
result.page,
|
||||
result.offset,
|
||||
object->header.count );
|
||||
object->header.count = 0;
|
||||
}
|
||||
}
|
||||
} // TODO: else throw exception
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue