aboutsummaryrefslogtreecommitdiffstats
path: root/passes/equiv
diff options
context:
space:
mode:
Diffstat (limited to 'passes/equiv')
-rw-r--r--passes/equiv/equiv_induct.cc2
-rw-r--r--passes/equiv/equiv_simple.cc2
-rw-r--r--passes/equiv/equiv_struct.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/passes/equiv/equiv_induct.cc b/passes/equiv/equiv_induct.cc
index e3af16e2d..bcc68d6d2 100644
--- a/passes/equiv/equiv_induct.cc
+++ b/passes/equiv/equiv_induct.cc
@@ -207,7 +207,7 @@ struct EquivInductPass : public Pass {
continue;
}
if (args[argidx] == "-seq" && argidx+1 < args.size()) {
- max_seq = std::stoi(args[++argidx]);
+ max_seq = atoi(args[++argidx].c_str());
continue;
}
break;
diff --git a/passes/equiv/equiv_simple.cc b/passes/equiv/equiv_simple.cc
index 1f80e117d..c2fab26f2 100644
--- a/passes/equiv/equiv_simple.cc
+++ b/passes/equiv/equiv_simple.cc
@@ -325,7 +325,7 @@ struct EquivSimplePass : public Pass {
continue;
}
if (args[argidx] == "-seq" && argidx+1 < args.size()) {
- max_seq = std::stoi(args[++argidx]);
+ max_seq = atoi(args[++argidx].c_str());
continue;
}
break;
diff --git a/passes/equiv/equiv_struct.cc b/passes/equiv/equiv_struct.cc
index 0bae55802..a7973fd04 100644
--- a/passes/equiv/equiv_struct.cc
+++ b/passes/equiv/equiv_struct.cc
@@ -338,7 +338,7 @@ struct EquivStructPass : public Pass {
continue;
}
if (args[argidx] == "-maxiter" && argidx+1 < args.size()) {
- max_iter = std::stoi(args[++argidx]);
+ max_iter = atoi(args[++argidx].c_str());
continue;
}
break;