mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
consider an instruction reachable if it has no predecessors (i.e. it's the first instruction
This commit is contained in:
parent
31976f585a
commit
a21f951e29
@ -2591,7 +2591,7 @@ unreachable(Event* event)
|
||||
for (Link* p = event->predecessors; p; p = p->nextPredecessor) {
|
||||
if (not p->predecessor->allExits()) return false;
|
||||
}
|
||||
return true;
|
||||
return event->predecessors != 0;
|
||||
}
|
||||
|
||||
class ReturnEvent: public Event {
|
||||
|
Loading…
Reference in New Issue
Block a user