From 5e27eddaeb4f40076fb32857982af1955d2b1a16 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Wed, 26 Oct 2022 16:14:55 +0900 Subject: move CrearError from LabelManager::reset() to CodeGenerator::reset() --- xbyak/xbyak.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbyak/xbyak.h b/xbyak/xbyak.h index 16a0ed8..219bd4a 100644 --- a/xbyak/xbyak.h +++ b/xbyak/xbyak.h @@ -1485,7 +1485,6 @@ public: clabelDefList_.clear(); clabelUndefList_.clear(); resetLabelPtrList(); - ClearError(); } void enterLocal() { @@ -2804,6 +2803,7 @@ public: } void reset() { + ClearError(); resetSize(); labelMgr_.reset(); labelMgr_.set(this); -- cgit v1.2.3