Module Jasmin.RemoveUnusedResultsSource

Sourceval analyse : ('a * ('info, 'asm) Prog.func) list -> Prog.funname -> bool list option

Remove unused results.

Based on global liveness information, this removes from non-export function the returned values that are never used by the callers.

FIXME: this assumes that the program never calls export functions.