summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx4
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);
}