From 1e00cfb1b6caa8b8ac343fac8e3d08f2d6a5d785 Mon Sep 17 00:00:00 2001 From: fche Date: Thu, 27 Mar 2008 19:31:51 +0000 Subject: [PATCH] 2008-03-27 Frank Ch. Eigler * tapsets.cxx (common_probe_entryfn_prologue): Clear last_stmt. --- ChangeLog | 4 ++++ tapsets.cxx | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 832ebaeb7..91b09b03c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-03-27 Frank Ch. Eigler + + * tapsets.cxx (common_probe_entryfn_prologue): Clear last_stmt. + 2008-03-26 Frank Ch. Eigler * translate.cxx (emit_function): Set context last_stmt, in case diff --git a/tapsets.cxx b/tapsets.cxx index 39aa60ad1..079d87e8a 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -201,6 +201,7 @@ common_probe_entryfn_prologue (translator_output* o, string statestr, o->newline() << "goto probe_epilogue;"; o->newline(-1) << "}"; o->newline(); + o->newline() << "c->last_stmt = 0;"; o->newline() << "c->last_error = 0;"; o->newline() << "c->nesting = 0;"; o->newline() << "c->regs = 0;"; -- 2.43.5