Excellent. It'd be great to see all those VNInfo::Allocator parameters in the LiveInterval API go away.<div><br></div><div>- Lang.<br><br><div class="gmail_quote">On Mon, Aug 6, 2012 at 1:51 PM, Jakob Stoklund Olesen <span dir="ltr"><<a href="mailto:stoklund@2pi.dk" target="_blank">stoklund@2pi.dk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><div>On Aug 6, 2012, at 1:20 PM, Lang Hames <<a href="mailto:lhames@gmail.com" target="_blank">lhames@gmail.com</a>> wrote:</div>
<blockquote type="cite"><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Completely eliminate VNInfo flags.<br>
</blockquote></div></div></blockquote><div><br></div><div>I think we can soon eliminate the VNInfo class entirely, and just put a SlotIndex array in LiveInterval:</div><div><br></div><div>class LiveInterval {</div><div>  struct Segment {</div>
<div>    SlotIndex start;</div><div>    SlotIndex end;</div><div>    unsigned valno;</div><div>  };</div><div>  SmallVector<Segment, 4> Ranges;</div><div>  SmallVector<SlotIndex, 4> Defs;</div><div>}</div><div>
<br></div><div>This would save all the memory previously used by the VNInfo allocator.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>/jakob</div><div><br></div></font></span></div></div></blockquote>
</div><br></div>