@@ -56,7 +56,7 @@ SCENARIO("call_graph",
5656 // void C() { }
5757 // void D() { }
5858
59- symbol_tablet symbol_table ;
59+ goto_modelt goto_model ;
6060 code_typet void_function_type;
6161
6262 {
@@ -68,7 +68,8 @@ SCENARIO("call_graph",
6868 calls.move_to_operands (call1);
6969 calls.move_to_operands (call2);
7070
71- symbol_table.add (create_void_function_symbol (" A" , calls));
71+ goto_model.symbol_table .add (
72+ create_void_function_symbol (" A" , calls));
7273 }
7374
7475 {
@@ -80,17 +81,19 @@ SCENARIO("call_graph",
8081 calls.move_to_operands (call1);
8182 calls.move_to_operands (call2);
8283
83- symbol_table.add (create_void_function_symbol (" B" , calls));
84+ goto_model.symbol_table .add (
85+ create_void_function_symbol (" B" , calls));
8486 }
8587
86- symbol_table.add (create_void_function_symbol (" C" , code_skipt ()));
87- symbol_table.add (create_void_function_symbol (" D" , code_skipt ()));
88+ goto_model.symbol_table .add (
89+ create_void_function_symbol (" C" , code_skipt ()));
90+ goto_model.symbol_table .add (
91+ create_void_function_symbol (" D" , code_skipt ()));
8892
89- goto_functionst goto_functions;
9093 stream_message_handlert msg (std::cout);
91- goto_convert (symbol_table, goto_functions , msg);
94+ goto_convert (goto_model , msg);
9295
93- call_grapht call_graph_from_goto_functions (goto_functions );
96+ call_grapht call_graph_from_goto_functions (goto_model );
9497
9598 WHEN (" A call graph is constructed from the GOTO functions" )
9699 {
0 commit comments