<br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I think you can do without the header file. Just put a CalculateSpillWeightsID in Passes.h instead.<br>
</blockquote><div><br>I'm planning to add functionality to the pass to compute the spill weight of individual intervals. Passes using this (such as the new spiller) will need access to the interface.<br></div><div> </div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
> +/// Returns true if the given live interval is zero length.<br>
> +bool CalculateSpillWeights::isZeroLengthInterval(LiveInterval *li) const {<br>
<br>
</div>Should this be a method on LiveInterval instead?<br></blockquote><div><br>Probably. I'll move it over. :) <br></div><div><br>- Lang.<br></div></div>