]> sourceware.org Git - systemtap.git/commit
PR10719 cont'd: const-fold comparisons
authorJosh Stone <jistone@redhat.com>
Wed, 24 Feb 2010 02:50:05 +0000 (18:50 -0800)
committerJosh Stone <jistone@redhat.com>
Wed, 24 Feb 2010 03:11:30 +0000 (19:11 -0800)
commitf4869658bae06af2e92091cebda75b59d00211d8
tree051cb75997f1391d6316654589e093f5e75c8013
parent29b1a9b7ff6ccff926e47c1077ea6089d3307a65
PR10719 cont'd: const-fold comparisons

We can compute results between two literals, and we can also compute
comparisons to boundary numbers.

(We could also check boundary strings, "" and "\377\377...", but even
I am not THAT pedantic... yet...)

* elaborate.cxx (const_folder::visit_comparison): Implement.
elaborate.cxx
This page took 0.027554 seconds and 5 git commands to generate.