diff options
author | Josh Stone <jistone@redhat.com> | 2010-02-24 18:51:51 -0800 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2010-02-24 19:44:27 -0800 |
commit | e7227e90cd1414b2d02884617da0346134892526 (patch) | |
tree | d8a0cf8331ab30cd67971da5a0c10738ee03cc8b /tapsets.cxx | |
parent | 1cb79a7245a86f563a8e54a0b47937f253636bde (diff) | |
download | systemtap-steved-e7227e90cd1414b2d02884617da0346134892526.tar.gz systemtap-steved-e7227e90cd1414b2d02884617da0346134892526.tar.xz systemtap-steved-e7227e90cd1414b2d02884617da0346134892526.zip |
PR10719 cont'd: const-fold binary expressions
We can compute results between two literals, we can reduce identity
elements, and reduce constants if the non-literal side has no side
effects.
* elaborate.cxx (const_folder::visit_binary_expression): Implement.
Diffstat (limited to 'tapsets.cxx')
0 files changed, 0 insertions, 0 deletions