-
-
Save agentzh/ad6e7ca910a7218b9a46399bf37295ed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/translate.cxx b/translate.cxx | |
index b23aa8c1f..2accb5888 100644 | |
--- a/translate.cxx | |
+++ b/translate.cxx | |
@@ -3873,6 +3873,8 @@ void c_unparser::visit_try_block (try_block *s) | |
o->newline() << "if (likely(c->last_error == NULL)) goto out;"; | |
+ o->newline() << "if (unlikely (c->actionremaining <= 0)) goto out;"; | |
+ | |
if (s->catch_error_var) | |
{ | |
var cev(getvar(s->catch_error_var->referent, s->catch_error_var->tok)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment