summaryrefslogtreecommitdiff
path: root/runtime/arch/instruction_set_features.cc
diff options
context:
space:
mode:
author Santiago Aboy Solanes <solanes@google.com> 2022-02-04 14:41:46 +0000
committer Santiago Aboy Solanes <solanes@google.com> 2022-02-07 13:01:08 +0000
commit79bdf6084b2cf00603588d549441bf2988ead313 (patch)
tree7ff4505443f614f0e57c39ecaa62769523c0a6f8 /runtime/arch/instruction_set_features.cc
parentae148feea58c69acd11722e82b1be7bf2324eadb (diff)
Improve instruction set variants' logging
Follow-up to aosp/1970941, de-duplicating call via android::base::Join and also adding logging to Arm32. Test: Presubmit tests Change-Id: I49674b7a7703571c15dbf15bd10479e37663f407
Diffstat (limited to 'runtime/arch/instruction_set_features.cc')
-rw-r--r--runtime/arch/instruction_set_features.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/runtime/arch/instruction_set_features.cc b/runtime/arch/instruction_set_features.cc
index 5ae920bef1..ec1e340245 100644
--- a/runtime/arch/instruction_set_features.cc
+++ b/runtime/arch/instruction_set_features.cc
@@ -267,16 +267,6 @@ bool InstructionSetFeatures::FindVariantInArray(const char* const variants[], si
return std::find(begin, end, variant) != end;
}
-void InstructionSetFeatures::CommaSeparateVariants(std::ostream& os,
- const char* const variants[],
- size_t num_variants) {
- std::string separator = "";
- for (size_t i = 0u; i < num_variants; ++i) {
- os << separator << variants[i];
- separator = ", ";
- }
-}
-
std::unique_ptr<const InstructionSetFeatures> InstructionSetFeatures::AddRuntimeDetectedFeatures(
const InstructionSetFeatures *features ATTRIBUTE_UNUSED) const {
UNIMPLEMENTED(FATAL) << kRuntimeISA;