aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2022-10-26 16:14:55 +0900
committerMITSUNARI Shigeo <[email protected]>2022-10-26 16:14:55 +0900
commit5e27eddaeb4f40076fb32857982af1955d2b1a16 (patch)
tree76f6af2fed2955e9f723f76ebf289107a1f6f1c0
parent20b2b1eae1acc5d2443bc76e547d2b125b12299f (diff)
downloadxbyak-5e27eddaeb4f40076fb32857982af1955d2b1a16.tar.gz
xbyak-5e27eddaeb4f40076fb32857982af1955d2b1a16.zip
move CrearError from LabelManager::reset() to CodeGenerator::reset()
-rw-r--r--xbyak/xbyak.h2
1 files changed, 1 insertions, 1 deletions
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);