|
10 | 10 | /// Program Transformation
|
11 | 11 |
|
12 | 12 | #include "goto_convert.h"
|
13 |
| -#include "goto_convert_class.h" |
14 | 13 |
|
15 | 14 | #include <util/arith_tools.h>
|
16 | 15 | #include <util/c_types.h>
|
|
25 | 24 | #include <util/string_constant.h>
|
26 | 25 | #include <util/symbol_table_builder.h>
|
27 | 26 |
|
| 27 | +#include "goto_convert_class.h" |
28 | 28 | #include "destructor.h"
|
29 | 29 | #include "remove_skip.h"
|
30 | 30 |
|
31 |
| -#include <iostream> |
32 |
| -#define WATCHVAR(var) \ |
33 |
| - std::cerr << "DBG: " << __FILE__ << "(" << __LINE__ << ") " << #var \ |
34 |
| - << " = [" << (var) << "]" << std::endl |
35 |
| - |
36 | 31 | static bool is_empty(const goto_programt &goto_program)
|
37 | 32 | {
|
38 | 33 | forall_goto_program_instructions(it, goto_program)
|
@@ -250,7 +245,6 @@ void goto_convertt::build_declaration_hops(
|
250 | 245 |
|
251 | 246 | // TODO - TYPE CHECK FOR VAR ARRAYS!
|
252 | 247 |
|
253 |
| - WATCHVAR(declaration->instruction->to_string()); |
254 | 248 | bool add_if = declaration->if_conditions_added.find(flag.name) ==
|
255 | 249 | declaration->if_conditions_added.end();
|
256 | 250 | if(add_if)
|
@@ -316,7 +310,6 @@ void goto_convertt::finish_gotos(goto_programt &dest, const irep_idt &mode)
|
316 | 310 | }
|
317 | 311 |
|
318 | 312 | i.complete_goto(l_it->second.first);
|
319 |
| - WATCHVAR(i.get_target()->to_string()); |
320 | 313 |
|
321 | 314 | node_indext label_target = l_it->second.second;
|
322 | 315 | node_indext goto_target = g_it.second;
|
|
0 commit comments