fix build break (fp constants from alive tool)
MODIFY
tools/alive_parser.cpp
tools/alive_parser.cpp
@@ -75,7 +75,7 @@ static Value& get_constant(string_view name, Type &type) {
}
static Value& get_fp_constant(string_view n, Type &t) {
- auto c = make_unique<FloatConst>(t, string(n));
+ auto c = make_unique<FloatConst>(t, strtod(n));
auto ret = c.get();
fn->addConstant(move(c));
return *ret;

fix build break (fp constants from alive tool)