[PATCH] turn quick_stack into a VEC
Andrew Haley
aph@redhat.com
Mon May 24 08:40:00 GMT 2010
On 05/24/2010 04:09 AM, Nathan Froyd wrote:
> The patch below converts java/expr.c:quick_stack into a VEC instead of a
> TREE_LIST. We get to use the intuitive push and pop methods and
> flush_quick_stack becomes somewhat more straightforward.
>
> Tested on x86_64-unknown-linux-gnu. OK to commit?
>
> -Nathan
>
> * expr.c (quick_stack): Change type to a VEC. Update comment.
> (tree_list_free_list): Delete.
> (flush_quick_stack): Update for quick_stack type change.
> (push_value): Likewise.
> (pop_value): Likewise.
Gosh, that's quite some improvement. Thanks.
Andrew.
More information about the Java-patches
mailing list