diff src/pt-eval.cc @ 9378:bb0697c70c16

simplify tree_evaluator::visit_try_catch_command
author Jaroslav Hajek <highegg@gmail.com>
date Tue, 23 Jun 2009 09:17:10 +0200
parents 610bf90fce2a
children d57f0c56195f
line wrap: on
line diff
--- a/src/pt-eval.cc
+++ b/src/pt-eval.cc
@@ -893,13 +893,7 @@
       // For clearing the do_catch_code cleanup function.
       unwind_protect::discard ();
 
-      // For restoring Vdebug_on_warning, Vdebug_on_error, and
-      // buffer_error_messages.
-      unwind_protect::run ();
-      unwind_protect::run ();
-      unwind_protect::run ();
-
-      // Also clear the frame marker.
+      // Run the rest of the frame.
       unwind_protect::run_frame (uwp_frame);
     }
 }