summaryrefslogtreecommitdiffstats
path: root/runtime/stack.c
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2010-03-09 15:32:58 -0800
committerJosh Stone <jistone@redhat.com>2010-03-09 15:32:58 -0800
commitc0f562688ae877000f46058f748a8b986679863e (patch)
treefc543785fd32f7071ba0b7e0952e3cad9736804c /runtime/stack.c
parent985adad37f66be2b1796641360296b7632c7f290 (diff)
downloadsystemtap-steved-c0f562688ae877000f46058f748a8b986679863e.tar.gz
systemtap-steved-c0f562688ae877000f46058f748a8b986679863e.tar.xz
systemtap-steved-c0f562688ae877000f46058f748a8b986679863e.zip
PR11360: Make @defined and -L play nice
The constant-folding is now enabled for s.listing_mode_vars, despite all other optimizations being disabled. This is needed so we can prune any invalid branches that are gated by @defined. * elaborate.cxx (semantic_pass): Leave the optimization decision to the optimization passes themselves. (semantic_pass_optimize1): Predicate most optimizations, but enable the constant-folding for listing_mode_vars too. (semantic_pass_optimize2): Predicate all (1) optimizations. * testsuite/semok/defined_list_vars.stp: New test.
Diffstat (limited to 'runtime/stack.c')
0 files changed, 0 insertions, 0 deletions