Skip to content

Commit c877eb5

Browse files
author
Remi Delmas
committed
CONTRACTS: cleanup TODOs
1 parent a5d0f97 commit c877eb5

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

src/goto-instrument/contracts/dynamic-frames/dfcc.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ Author: Remi Delmas, [email protected]
66
77
\*******************************************************************/
88

9-
// TODO havoc global statics
10-
// TODO move disable assigns clause pragma into utils
11-
// TODO prune includes
129
#include "dfcc.h"
1310

1411
#include <util/config.h>

src/goto-instrument/contracts/dynamic-frames/dfcc_instrument.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,6 @@ void dfcc_instrumentt::instrument_function(
307307
PRECONDITION_WITH_DIAGNOSTICS(
308308
found != goto_model.goto_functions.function_map.end(),
309309
"Function '" + id2string(function_id) + "' must exist in the model.");
310-
// TODO instead of erroring out, create an entry in the function table
311-
// and create body with assert(false); assume(false)
312310

313311
auto &goto_function = found->second;
314312

@@ -440,8 +438,6 @@ void dfcc_instrumentt::instrument_instructions(
440438
}
441439
if(target->is_dead())
442440
{
443-
// TODO: discuss if we really need to record DEAD instructions since the
444-
// default CBMC checks are already able to detect writes to DEAD objects
445441
instrument_dead(function_id, write_set, target, goto_program, cfg_info);
446442
}
447443
else if(target->is_assign())

0 commit comments

Comments
 (0)