summaryrefslogtreecommitdiffstats
path: root/parse.cxx
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2010-02-24 16:43:06 -0800
committerJosh Stone <jistone@redhat.com>2010-02-24 16:43:06 -0800
commita7e58d4c674003f192c4c8a834e80a3c23f9ec2e (patch)
treede1fe1e773a27384b8b2fc3b8f7c561fe1cdb070 /parse.cxx
parentf4869658bae06af2e92091cebda75b59d00211d8 (diff)
downloadsystemtap-steved-a7e58d4c674003f192c4c8a834e80a3c23f9ec2e.tar.gz
systemtap-steved-a7e58d4c674003f192c4c8a834e80a3c23f9ec2e.tar.xz
systemtap-steved-a7e58d4c674003f192c4c8a834e80a3c23f9ec2e.zip
PR10719 cont'd: const-fold logical ops
We can compute results between two literals, we can short-circuit some literals on the left ("0&&x", "1||x"), and we can simplify literals on the right if the left has no side effect ("x&&0", "x||1"). * elaborate.cxx (const_folder::visit_logical_or_expr): Implement. (const_folder::visit_logical_and_expr): Implement.
Diffstat (limited to 'parse.cxx')
0 files changed, 0 insertions, 0 deletions