diff options
author | fche <fche> | 2005-09-13 00:45:24 +0000 |
---|---|---|
committer | fche <fche> | 2005-09-13 00:45:24 +0000 |
commit | bf9bd203c3acd94614b93ba0187148a1deda043c (patch) | |
tree | 1e88f3c68ba79782aa432a58be6ea27e452982da /translate.cxx | |
parent | 897820ca8cf35d061f366704dd9b0a7981793190 (diff) | |
download | systemtap-steved-bf9bd203c3acd94614b93ba0187148a1deda043c.tar.gz systemtap-steved-bf9bd203c3acd94614b93ba0187148a1deda043c.tar.xz systemtap-steved-bf9bd203c3acd94614b93ba0187148a1deda043c.zip |
2005-09-12 Frank Ch. Eigler <fche@elastic.org>
PR 1335
* translate.cxx (c_tmpcounter::visit_functioncall): Correct
recursion sequence.
* testsuite/buildok/nineteen.stp: New test case.
Diffstat (limited to 'translate.cxx')
-rw-r--r-- | translate.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/translate.cxx b/translate.cxx index 6b00cd9e..9f057043 100644 --- a/translate.cxx +++ b/translate.cxx @@ -2259,10 +2259,8 @@ c_tmpcounter::visit_functioncall (functioncall *e) { tmpvar t = parent->gensym (r->formal_args[i]->type); t.declare (*parent); + e->args[i]->visit (this); } - - for (unsigned i=0; i<e->args.size(); i++) - e->args[i]->visit (this); } |