aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libevmasm/SimplificationRules.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libevmasm/SimplificationRules.cpp b/libevmasm/SimplificationRules.cpp
index 0e95b4bb..2976d95f 100644
--- a/libevmasm/SimplificationRules.cpp
+++ b/libevmasm/SimplificationRules.cpp
@@ -48,6 +48,7 @@ pair<Pattern, function<Pattern()> > const* Rules::findFirstMatch(
{
if (rule.first.matches(_expr, _classes))
return &rule;
+ resetMatchGroups();
}
return nullptr;
}