Skip to content

Commit c156894

Browse files
committed
Remove debugging
1 parent 3ebf8a4 commit c156894

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/goto-programs/goto_convert.cpp

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Author: Daniel Kroening, [email protected]
1010
/// Program Transformation
1111

1212
#include "goto_convert.h"
13-
#include "goto_convert_class.h"
1413

1514
#include <util/arith_tools.h>
1615
#include <util/c_types.h>
@@ -25,14 +24,10 @@ Author: Daniel Kroening, [email protected]
2524
#include <util/string_constant.h>
2625
#include <util/symbol_table_builder.h>
2726

27+
#include "goto_convert_class.h"
2828
#include "destructor.h"
2929
#include "remove_skip.h"
3030

31-
#include <iostream>
32-
#define WATCHVAR(var) \
33-
std::cerr << "DBG: " << __FILE__ << "(" << __LINE__ << ") " << #var \
34-
<< " = [" << (var) << "]" << std::endl
35-
3631
static bool is_empty(const goto_programt &goto_program)
3732
{
3833
forall_goto_program_instructions(it, goto_program)
@@ -250,7 +245,6 @@ void goto_convertt::build_declaration_hops(
250245

251246
// TODO - TYPE CHECK FOR VAR ARRAYS!
252247

253-
WATCHVAR(declaration->instruction->to_string());
254248
bool add_if = declaration->if_conditions_added.find(flag.name) ==
255249
declaration->if_conditions_added.end();
256250
if(add_if)
@@ -316,7 +310,6 @@ void goto_convertt::finish_gotos(goto_programt &dest, const irep_idt &mode)
316310
}
317311

318312
i.complete_goto(l_it->second.first);
319-
WATCHVAR(i.get_target()->to_string());
320313

321314
node_indext label_target = l_it->second.second;
322315
node_indext goto_target = g_it.second;

0 commit comments

Comments
 (0)