Remove CompilerDriver::IsDebuggingSupported
Change-Id: Ib67e3ef67462fe5dae81148f7fe8cc76b3887f11
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc
index f1082db..6558f8a 100644
--- a/compiler/driver/compiler_driver.cc
+++ b/compiler/driver/compiler_driver.cc
@@ -335,8 +335,7 @@
CompilerDriver::CompilerDriver(CompilerBackend compiler_backend, InstructionSet instruction_set,
bool image, DescriptorSet* image_classes,
- size_t thread_count, bool support_debugging,
- bool dump_stats, bool dump_timings)
+ size_t thread_count, bool dump_stats, bool dump_timings)
: compiler_backend_(compiler_backend),
instruction_set_(instruction_set),
freezing_constructor_lock_("freezing constructor lock"),
@@ -345,7 +344,6 @@
image_(image),
image_classes_(image_classes),
thread_count_(thread_count),
- support_debugging_(support_debugging),
start_ns_(0),
stats_(new AOTCompilationStats),
dump_stats_(dump_stats),
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h
index 80cc89b..902fda7 100644
--- a/compiler/driver/compiler_driver.h
+++ b/compiler/driver/compiler_driver.h
@@ -72,8 +72,7 @@
// classes.
explicit CompilerDriver(CompilerBackend compiler_backend, InstructionSet instruction_set,
bool image, DescriptorSet* image_classes,
- size_t thread_count, bool support_debugging,
- bool dump_stats, bool dump_timings);
+ size_t thread_count, bool dump_stats, bool dump_timings);
~CompilerDriver();
@@ -84,10 +83,6 @@
void CompileOne(const mirror::AbstractMethod* method)
SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
- bool IsDebuggingSupported() {
- return support_debugging_;
- }
-
InstructionSet GetInstructionSet() const {
return instruction_set_;
}
@@ -362,7 +357,6 @@
UniquePtr<DescriptorSet> image_classes_;
size_t thread_count_;
- bool support_debugging_;
uint64_t start_ns_;
UniquePtr<AOTCompilationStats> stats_;