model/action: bugfix - UNINIT actions do not have a Node
authorBrian Norris <banorris@uci.edu>
Fri, 7 Dec 2012 06:53:07 +0000 (22:53 -0800)
committerBrian Norris <banorris@uci.edu>
Fri, 7 Dec 2012 06:53:07 +0000 (22:53 -0800)
commit67cae4edb16c1c432b26bedcc9e19dae6dc37b1b
treefeea0f5a9338c2e654f701222a428681bca5e078
parentea16f9a5121a4e58881a88c0d29fca9138e72464
model/action: bugfix - UNINIT actions do not have a Node

Fix the one place where ModelChecker looks for a Node in an UNINIT
action.

This also adds an ASSERT() within ModelAction to prevent calling
get_node() on an UNINIT action. It is technically OK to call get_node()
in this case, but most callers don't check for NULL, so it's better to
just catch the ASSERT() for this unwanted special case.
action.cc
model.cc