Skip to content

Removed unused parameter/private field #1841

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
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
5 changes: 0 additions & 5 deletions src/java_bytecode/java_bytecode_convert_class.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,11 @@ class java_bytecode_convert_classt:public messaget
message_handlert &_message_handler,
size_t _max_array_length,
method_bytecodet &method_bytecode,
lazy_methods_modet _lazy_methods_mode,
java_string_library_preprocesst &_string_preprocess)
: messaget(_message_handler),
symbol_table(_symbol_table),
max_array_length(_max_array_length),
method_bytecode(method_bytecode),
lazy_methods_mode(_lazy_methods_mode),
string_preprocess(_string_preprocess)
{
}
Expand Down Expand Up @@ -75,7 +73,6 @@ class java_bytecode_convert_classt:public messaget
symbol_tablet &symbol_table;
const size_t max_array_length;
method_bytecodet &method_bytecode;
lazy_methods_modet lazy_methods_mode;
java_string_library_preprocesst &string_preprocess;

// conversion
Expand Down Expand Up @@ -604,15 +601,13 @@ bool java_bytecode_convert_class(
message_handlert &message_handler,
size_t max_array_length,
method_bytecodet &method_bytecode,
lazy_methods_modet lazy_methods_mode,
java_string_library_preprocesst &string_preprocess)
{
java_bytecode_convert_classt java_bytecode_convert_class(
symbol_table,
message_handler,
max_array_length,
method_bytecode,
lazy_methods_mode,
string_preprocess);

try
Expand Down
1 change: 0 additions & 1 deletion src/java_bytecode/java_bytecode_convert_class.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ bool java_bytecode_convert_class(
message_handlert &message_handler,
size_t max_array_length,
method_bytecodet &,
lazy_methods_modet,
java_string_library_preprocesst &string_preprocess);

void mark_java_implicitly_generic_class_type(
Expand Down
8 changes: 5 additions & 3 deletions src/java_bytecode/java_bytecode_language.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -488,9 +488,10 @@ bool java_bytecode_languaget::typecheck(
get_message_handler(),
max_user_array_length,
method_bytecode,
lazy_methods_mode,
string_preprocess))
return true;
{
return true;
}
}

// first generate a new struct symbol for each class and a new function symbol
Expand All @@ -510,9 +511,10 @@ bool java_bytecode_languaget::typecheck(
get_message_handler(),
max_user_array_length,
method_bytecode,
lazy_methods_mode,
string_preprocess))
{
return true;
}
}

// find and mark all implicitly generic class types
Expand Down