mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Add lcov code coverage markers.
This commit is contained in:
+3
-3
@@ -215,9 +215,9 @@ private:
|
||||
}
|
||||
void statePop() {
|
||||
m_states.pop();
|
||||
if (m_states.empty()) {
|
||||
error("InternalError: Pop of parser state with nothing on stack");
|
||||
m_states.push(ps_TOP);
|
||||
if (VL_UNCOVERABLE(m_states.empty())) {
|
||||
error("InternalError: Pop of parser state with nothing on stack"); // LCOV_EXCL_LINE
|
||||
m_states.push(ps_TOP); // LCOV_EXCL_LINE
|
||||
}
|
||||
}
|
||||
void stateChange(ProcState state) {
|
||||
|
||||
Reference in New Issue
Block a user