diff options
Diffstat (limited to 'compiler/optimizing/profiling_info_builder.h')
-rw-r--r-- | compiler/optimizing/profiling_info_builder.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/compiler/optimizing/profiling_info_builder.h b/compiler/optimizing/profiling_info_builder.h index c8dc59a03c..2185b0eed3 100644 --- a/compiler/optimizing/profiling_info_builder.h +++ b/compiler/optimizing/profiling_info_builder.h @@ -24,7 +24,6 @@ namespace art HIDDEN { class CodeGenerator; class CompilerOptions; -class HInliner; class InlineCache; class ProfilingInfo; @@ -43,13 +42,8 @@ class ProfilingInfoBuilder : public HGraphDelegateVisitor { static constexpr const char* kProfilingInfoBuilderPassName = "profiling_info_builder"; - static InlineCache* GetInlineCache(ProfilingInfo* info, - const CompilerOptions& compiler_options, - HInvoke* invoke); + static InlineCache* GetInlineCache(ProfilingInfo* info, HInvoke* invoke); static bool IsInlineCacheUseful(HInvoke* invoke, CodeGenerator* codegen); - static uint32_t EncodeInlinedDexPc( - const HInliner* inliner, const CompilerOptions& compiler_options, HInvoke* invoke) - REQUIRES_SHARED(Locks::mutator_lock_); private: void VisitInvokeVirtual(HInvokeVirtual* invoke) override; @@ -58,7 +52,7 @@ class ProfilingInfoBuilder : public HGraphDelegateVisitor { void HandleInvoke(HInvoke* invoke); CodeGenerator* codegen_; - const CompilerOptions& compiler_options_; + [[maybe_unused]] const CompilerOptions& compiler_options_; std::vector<uint32_t> inline_caches_; DISALLOW_COPY_AND_ASSIGN(ProfilingInfoBuilder); |