ART: Make unknown variant "mips64r6" go away
It's the standard variant, accept it just like "default."
Change-Id: I9b600345e3e1ebfb508ffe22ddde17757be2172e
diff --git a/runtime/arch/mips64/instruction_set_features_mips64.cc b/runtime/arch/mips64/instruction_set_features_mips64.cc
index 26478cb..8c48a08 100644
--- a/runtime/arch/mips64/instruction_set_features_mips64.cc
+++ b/runtime/arch/mips64/instruction_set_features_mips64.cc
@@ -26,8 +26,7 @@
const Mips64InstructionSetFeatures* Mips64InstructionSetFeatures::FromVariant(
const std::string& variant, std::string* error_msg ATTRIBUTE_UNUSED) {
- // TODO: r6 variant.
- if (variant != "default") {
+ if (variant != "default" && variant != "mips64r6") {
std::ostringstream os;
LOG(WARNING) << "Unexpected CPU variant for Mips64 using defaults: " << variant;
}