This is the mail archive of the
systemtap-cvs@sources.redhat.com
mailing list for the systemtap project.
src ./translate.cxx ./staptree.cxx ./elaborate ...
- From: graydon at sourceware dot org
- To: systemtap-cvs at sources dot redhat dot com
- Date: 23 Jul 2005 02:50:15 -0000
- Subject: src ./translate.cxx ./staptree.cxx ./elaborate ...
CVSROOT: /cvs/systemtap
Module name: src
Changes by: graydon@sourceware.org 2005-07-23 02:50:15
Modified files:
. : translate.cxx staptree.cxx elaborate.cxx
ChangeLog
Added files:
testsuite/transok: eight.stp
testsuite/semko: thirteen.stp fourteen.stp fifteen.stp
Log message:
2005-07-22 Graydon Hoare <graydon@redhat.com>
* translate.cxx (itervar): New class.
(*::visit_foreach_loop): Implement.
Various bug fixes.
* staptree.cxx (deep_copy_visitor::*): Copy tok fields.
* elaborate.cxx (lvalue_aware_traversing_visitor):
(mutated_map_collector):
(no_map_mutation_during_iteration_check): New classes.
(semantic_pass_maps): New function to check map usage.
(semantic_pass): Call it.
* testsuite/transok/eight.stp: Test 'foreach' loop translation.
* testsuite/semko/{thirteen,fourteen,fifteen}.stp:
Test prohibited forms of foreach loops.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/translate.cxx.diff?cvsroot=systemtap&r1=1.18&r2=1.19
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/staptree.cxx.diff?cvsroot=systemtap&r1=1.21&r2=1.22
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/elaborate.cxx.diff?cvsroot=systemtap&r1=1.16&r2=1.17
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ChangeLog.diff?cvsroot=systemtap&r1=1.43&r2=1.44
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/testsuite/transok/eight.stp.diff?cvsroot=systemtap&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/testsuite/semko/thirteen.stp.diff?cvsroot=systemtap&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/testsuite/semko/fourteen.stp.diff?cvsroot=systemtap&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/testsuite/semko/fifteen.stp.diff?cvsroot=systemtap&r1=NONE&r2=1.1