package jasmin

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.