Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Use reference to types intead of type IDs
authorGabriel Corona <gabriel.corona@loria.fr>
Tue, 18 Mar 2014 14:51:51 +0000 (15:51 +0100)
committerGabriel Corona <gabriel.corona@loria.fr>
Tue, 18 Mar 2014 15:09:23 +0000 (16:09 +0100)
We do not need to pass the type ID+object_info everywhere.
It is much simpler to pass a pointer to the type (dw_type_t):

 * remove 'info', 'other_info' parameters;

 * remove cumbersome 'switch_types' logic (code duplication);

 * remove type ID confusion in mm_diff (the type ID of each block was
   stored but not the originating ELF obejct leading to an ambiguity);

 * the code is now generalisable to more than 2 ELF objects;

 * remove type lookups (by name, by ID) which are all resolved at
   initialisation time.


No differences found