Skip to content

Commit d642985

Browse files
Avoid code duplication of goto_symex_state::call_stack()
1 parent 5c03b6d commit d642985

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/goto-symex/goto_symex_state.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ class goto_symex_statet final : public goto_statet
148148

149149
const call_stackt &call_stack() const
150150
{
151-
PRECONDITION(source.thread_nr < threads.size());
152-
return threads[source.thread_nr].call_stack;
151+
return call_stack();
153152
}
154153

155154
void print_backtrace(std::ostream &) const;

0 commit comments

Comments
 (0)