[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question on Value vs. ValueBox
A value is a Jimple expression. A value box is a structure that has a
reference to a Value. This way, many expressions or statements can all
point to the same expression. This helps with copy propogation because
the expression in the ValueBox is redirected to a different expression
without changing anything else.
Shawn
On Sun, 13 Dec 1998, James C. Corbett wrote:
> I'm looking at example 3 (copy propagaton) in the Soot distribution.
> I understand the basic logic, but I'm a little confused by the
> representation. What is the difference between a Value and a
> ValueBox? What do each represent?
>
> Jay
>