Made is_object() a method of the segment manager

svn-id: r44042
This commit is contained in:
Filippos Karapetis 2009-09-12 17:42:04 +00:00
parent 358b5649ce
commit 15cb36a7ee
5 changed files with 13 additions and 20 deletions

View file

@ -224,16 +224,6 @@ int invoke_selector(EngineState *s, reg_t object, int selector_id, SelectorInvoc
*/
char *kernel_lookup_text(EngineState *s, reg_t address, int index);
/******************** Debug functionality ********************/
/**
* Checks whether a heap address contains an object
* @param s The current state
* @parm obj The address to check
* @return True if it is an object, false otherwise
*/
bool is_object(SegManager *segMan, reg_t obj);
/******************** Kernel function parameter macros ********************/
/* Returns the parameter value or (alt) if not enough parameters were supplied */