From 2566869eceebf99d0934d782eba8709f6759ae4e Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Mon, 8 May 2017 12:39:08 -0700 Subject: [PATCH] Always limit the scope of deref_fault label While it might be better to change tapset/* to use CATCH_DEREF_FAULT, it doesn't hurt to always limit the label. --- translate.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translate.cxx b/translate.cxx index 71dbb4441..a6d4ec651 100644 --- a/translate.cxx +++ b/translate.cxx @@ -3794,7 +3794,7 @@ c_unparser::visit_embeddedcode (embeddedcode *s) o->newline() << "assert_is_myproc();"; o->newline() << "{"; - if (s->code.find ("CATCH_DEREF_FAULT") != string::npos) + if (1 || s->code.find ("CATCH_DEREF_FAULT") != string::npos) o->newline() << "__label__ deref_fault;"; vector read_defs; -- 2.43.5