diff options
| author | 2015-04-06 14:40:36 -0700 | |
|---|---|---|
| committer | 2015-04-06 14:40:36 -0700 | |
| commit | 017d16cb8fd2b1f1c8aadd326fca700ea7d043dc (patch) | |
| tree | 26cf799de71e10af1b3c2419b4d16244d793e73c | |
| parent | 69958562959dbd772a1bac02e2838dbe79995d58 (diff) | |
ART: Make unknown variant "mips64r6" go away
It's the standard variant, accept it just like "default."
Change-Id: I9b600345e3e1ebfb508ffe22ddde17757be2172e
| -rw-r--r-- | runtime/arch/mips64/instruction_set_features_mips64.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/arch/mips64/instruction_set_features_mips64.cc b/runtime/arch/mips64/instruction_set_features_mips64.cc index 26478cbeef..8c48a084bf 100644 --- a/runtime/arch/mips64/instruction_set_features_mips64.cc +++ b/runtime/arch/mips64/instruction_set_features_mips64.cc @@ -26,8 +26,7 @@ namespace art { 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; } |