From 2ef01100bb56b3f8ab5fbc886a7066d721290d74 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Tue, 5 Feb 2019 15:05:10 +0000 Subject: Replace StringPiece with std::string_view in HashSet. Update HashSet comment and related code. Also remove dead CompilerOptions declarations with StringPiece parameters. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 123750182 Change-Id: I4a39d0e8e0392a414129369c5b304ec4813e9ed5 --- compiler/driver/compiler_options.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'compiler/driver/compiler_options.h') diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h index bd12bf7dda..fccd9ca26e 100644 --- a/compiler/driver/compiler_options.h +++ b/compiler/driver/compiler_options.h @@ -361,13 +361,6 @@ class CompilerOptions final { private: bool ParseDumpInitFailures(const std::string& option, std::string* error_msg); - void ParseDumpCfgPasses(const StringPiece& option, UsageFn Usage); - void ParseInlineMaxCodeUnits(const StringPiece& option, UsageFn Usage); - void ParseNumDexMethods(const StringPiece& option, UsageFn Usage); - void ParseTinyMethodMax(const StringPiece& option, UsageFn Usage); - void ParseSmallMethodMax(const StringPiece& option, UsageFn Usage); - void ParseLargeMethodMax(const StringPiece& option, UsageFn Usage); - void ParseHugeMethodMax(const StringPiece& option, UsageFn Usage); bool ParseRegisterAllocationStrategy(const std::string& option, std::string* error_msg); CompilerFilter::Filter compiler_filter_; -- cgit v1.2.3-59-g8ed1b