#include "common/system_specific.h"
#include "common/suif_hash_map.h"
#include "trash_utils.h"
#include "suifkernel/utilities.h"
#include "basicnodes/basic.h"
#include "basicnodes/basic_factory.h"
Functions | |
void | trash_it (SuifObject *obj) |
This variant of trash_it will trash the suifobject in it's creator's SuifEnv. | |
void | trash_it (SuifEnv *s, SuifObject *obj) |
trash_it() is called on an unowned suif object. More... | |
void | take_out_trash (SuifEnv *s) |
take_out_trash(). More... | |
size_t | validate_file_set_block_ownership (FileSetBlock *fsb) |
validate_file_set_block_ownership. More... |
|
will walk through the entire file set block and look for references to the "trash" not in trash.
If there are not any references to an object in the trash, the object will be removed.
|
trash_it() is called on an unowned suif object.
a reference to is will be placed into an annotation called "trash" in on the FileSetBlock.
|
This variant of trash_it will trash the suifobject in it's creator's SuifEnv.
|
validate_file_set_block_ownership.
Check every owned object in the fileset block to verify that it's ultimate ancestor is the fileset block.
Then check every referenced object in the fileset block to verify that its ultimate ancestor is the fileset block.