[PATCH 4/4] jit: fix mimic stack content propagation

2009-09-04 Thread Tomek Grabiec
The mimic stack propagation procedure was pushing elements onto successors' stacks on every CFG edge. This caused that the successor's stack was larger then it should be. Suppose we have basic block X, which has N predecessors. For each X's predecessor, Q elements were pushed onto X's mimic stack,

[PATCH 4/4] jit: fix mimic stack content propagation

2009-09-03 Thread Tomek Grabiec
The mimic stack propagation procedure was pushing elements onto successors' stacks on every CFG edge. This caused that the successor's stack was larger then it should be. The successor's stack was then also propagated, along with extra elements. This leads to geneartion of many unnecessary register