Skip to content

Commit 692f92d

Browse files
author
Daniel Kroening
committed
remove dependency on java_bytecode
1 parent 5626fb7 commit 692f92d

File tree

5 files changed

+0
-14
lines changed

5 files changed

+0
-14
lines changed

src/goto-cc/Makefile

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ OBJ += ../big-int/big-int$(LIBEXT) \
2424
../linking/linking$(LIBEXT) \
2525
../ansi-c/ansi-c$(LIBEXT) \
2626
../cpp/cpp$(LIBEXT) \
27-
../java_bytecode/java_bytecode$(LIBEXT) \
2827
../xmllang/xmllang$(LIBEXT) \
2928
../assembler/assembler$(LIBEXT) \
3029
../langapi/langapi$(LIBEXT) \

src/goto-cc/goto_cc_languages.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ Author: CM Wintersteiger
1515

1616
#include <ansi-c/ansi_c_language.h>
1717
#include <cpp/cpp_language.h>
18-
#include <java_bytecode/java_bytecode_language.h>
1918
#include <jsil/jsil_language.h>
2019

2120
#ifdef HAVE_SPECC
@@ -26,7 +25,6 @@ void goto_cc_modet::register_languages()
2625
{
2726
register_language(new_ansi_c_language);
2827
register_language(new_cpp_language);
29-
register_language(new_java_bytecode_language);
3028
register_language(new_jsil_language);
3129

3230
#ifdef HAVE_SPECC

src/goto-instrument/Makefile

-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ SRC = accelerate/accelerate.cpp \
7575

7676
OBJ += ../ansi-c/ansi-c$(LIBEXT) \
7777
../cpp/cpp$(LIBEXT) \
78-
../java_bytecode/java_bytecode$(LIBEXT) \
7978
../linking/linking$(LIBEXT) \
8079
../big-int/big-int$(LIBEXT) \
8180
../goto-programs/goto-programs$(LIBEXT) \

src/goto-instrument/goto_instrument_languages.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@ Author: Daniel Kroening, [email protected]
1515

1616
#include <ansi-c/ansi_c_language.h>
1717
#include <cpp/cpp_language.h>
18-
#include <java_bytecode/java_bytecode_language.h>
1918

2019
void goto_instrument_parse_optionst::register_languages()
2120
{
2221
register_language(new_ansi_c_language);
2322
register_language(new_cpp_language);
24-
register_language(new_java_bytecode_language);
2523
}

src/goto-instrument/goto_instrument_parse_options.cpp

-8
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ Author: Daniel Kroening, [email protected]
4949
#include <pointer-analysis/add_failed_symbols.h>
5050
#include <pointer-analysis/show_value_sets.h>
5151

52-
#include <java_bytecode/remove_exceptions.h>
53-
#include <java_bytecode/remove_instanceof.h>
54-
5552
#include <analyses/natural_loops.h>
5653
#include <analyses/global_may_alias.h>
5754
#include <analyses/local_bitvector_analysis.h>
@@ -841,11 +838,6 @@ void goto_instrument_parse_optionst::do_indirect_call_and_rtti_removal(
841838
cmdline.isset("pointer-check"));
842839
status() << "Virtual function removal" << eom;
843840
remove_virtual_functions(goto_model);
844-
status() << "Catch and throw removal" << eom;
845-
// This introduces instanceof, so order is important:
846-
remove_exceptions(goto_model);
847-
status() << "Java instanceof removal" << eom;
848-
remove_instanceof(goto_model);
849841
}
850842

851843
/// Remove function pointers that can be resolved by analysing const variables

0 commit comments

Comments
 (0)