* translate.cxx (c_unparser::emit_probe): Unlocks global variables, then
calls _stp_print_flush() (instead of the other way around).
// NB: no need to uninitialize locals, except if arrays/stats can
// someday be local
- // XXX: do this flush only if the body included a
- // print/printf/etc. routine!
- o->newline(1) << "_stp_print_flush();";
-
+ o->indent(1);
if (v->needs_global_locks ())
emit_unlocks (vut);
+ // XXX: do this flush only if the body included a
+ // print/printf/etc. routine!
+ o->newline() << "_stp_print_flush();";
o->newline(-1) << "}\n";
}