mirror of https://github.com/YosysHQ/yosys.git
coolrunner2: remove spurious log_pop() call, fixes #1463
This was causing a segmentation fault because there is no accompanying log_push() call so header_count.size() became -1. Signed-off-by: Martin Pietryka <martin@pietryka.at>
This commit is contained in:
parent
c03b6a3e9c
commit
97b22413e5
|
@ -194,8 +194,6 @@ struct SynthCoolrunner2Pass : public ScriptPass
|
||||||
if (!json_file.empty() || help_mode)
|
if (!json_file.empty() || help_mode)
|
||||||
run(stringf("write_json %s", help_mode ? "<file-name>" : json_file.c_str()));
|
run(stringf("write_json %s", help_mode ? "<file-name>" : json_file.c_str()));
|
||||||
}
|
}
|
||||||
|
|
||||||
log_pop();
|
|
||||||
}
|
}
|
||||||
} SynthCoolrunner2Pass;
|
} SynthCoolrunner2Pass;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue