Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions jbmc/src/java_bytecode/convert_java_nondet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Author: Reuben Thomas, reuben.thomas@diffblue.com
#include "java_object_factory.h" // gen_nondet_init

/// Returns true if `expr` is a nondet pointer that isn't a function pointer or
/// a void* pointer as these can be meaningfully non-det initalized.
/// a void* pointer as these can be meaningfully non-det initialized.
static bool is_nondet_pointer(exprt expr)
{
// If the expression type doesn't have a subtype then I guess it's primitive
Expand Down Expand Up @@ -97,7 +97,7 @@ static std::pair<goto_programt::targett, bool> insert_nondet_init_code(
continue;
}

const auto &nondet_expr = to_side_effect_expr_nondet(op);
const auto &nondet_expr = to_side_effect_expr_nondet(op);

if(!nondet_expr.get_nullable())
object_factory_parameters.max_nonnull_tree_depth = 1;
Expand Down