limit checks in x86-codegen

Matthew Fluet mfluet@intertrust.com
Fri, 20 Jul 2001 15:42:25 -0700 (PDT)


> Matthew, I'm not sure if you're doing this optimization already, but in case you
> aren't I think that you can generated better code for limit check loops in the
> special case where the bytes requested is 0.

That is being done.  And if the bytes requested is constant, then we
compute the new frontier limit using lea, as opposed to add.