Skip to content

Commit afa443c

Browse files
committed
US spelling of initialize
No functional changes.
1 parent d4d4a9a commit afa443c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/java_bytecode/java_bytecode_convert_method.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -2027,7 +2027,7 @@ codet java_bytecode_convert_methodt::convert_instructions(
20272027
}
20282028
results[0]=java_bytecode_promotion(symbol_expr);
20292029

2030-
// Note this initialiser call deliberately inits the class used to make
2030+
// Note this initializer call deliberately inits the class used to make
20312031
// the reference, which may be a child of the class that actually defines
20322032
// the field.
20332033
codet clinit_call=get_clinit_call(arg0.get_string(ID_class));
@@ -2073,7 +2073,7 @@ codet java_bytecode_convert_methodt::convert_instructions(
20732073
code_blockt block;
20742074
block.add_source_location()=i_it->source_location;
20752075

2076-
// Note this initialiser call deliberately inits the class used to make
2076+
// Note this initializer call deliberately inits the class used to make
20772077
// the reference, which may be a child of the class that actually defines
20782078
// the field.
20792079
codet clinit_call=get_clinit_call(arg0.get_string(ID_class));

src/java_bytecode/java_bytecode_language.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -391,8 +391,8 @@ static void generate_constant_global_variables(
391391
/// \param symbol_type: new symbol type
392392
/// \param class_id: class id that directly encloses this static field
393393
/// \param force_nondet_init: if true, always leave the symbol's value nil so it
394-
/// gets nondet initialised during __CPROVER_initialize. Otherwise, pointer-
395-
/// typed globals are initialised null and we expect a synthetic clinit method
394+
/// gets nondet initialized during __CPROVER_initialize. Otherwise, pointer-
395+
/// typed globals are initialized null and we expect a synthetic clinit method
396396
/// to be created later.
397397
static void create_stub_global_symbol(
398398
symbol_table_baset &symbol_table,
@@ -464,8 +464,8 @@ static irep_idt get_any_incomplete_ancestor(
464464

465465
/// Search for getstatic and putstatic instructions in a class' bytecode and
466466
/// create stub symbols for any static fields that aren't already in the symbol
467-
/// table. The new symbols are null-initialised for reference-typed globals /
468-
/// static fields, and nondet-initialised for primitives.
467+
/// table. The new symbols are null-initialized for reference-typed globals /
468+
/// static fields, and nondet-initialized for primitives.
469469
/// \param parse_tree: class bytecode
470470
/// \param symbol_table: symbol table; may gain new symbols
471471
/// \param class_hierarchy: global class hierarchy

0 commit comments

Comments
 (0)