OSDN Git Service

ART: Relax GetInstructionSetFromString
authorAndreas Gampe <agampe@google.com>
Wed, 20 Aug 2014 00:28:06 +0000 (17:28 -0700)
committerAndreas Gampe <agampe@google.com>
Wed, 20 Aug 2014 22:25:48 +0000 (15:25 -0700)
commit20c89303a9d89ba857bf969ad14a31f12c3be878
treeb7072ce69f3c6896e70e84cfb7ae1058e7e7a55f
parent192da5675b2e219f26a107bd7b60c755cd46ba74
ART: Relax GetInstructionSetFromString

Do not abort on an unknown instruction set string. Instead return
kNone and let the caller handle this.

Also simplify the patchoat tool to use this.

Bug: 17136416

(cherry picked from commit aabbb2066a715b3fd8e752291f74c6d77b970450)

Change-Id: I24131914bcf91c04ae93179bf809a2907f1f2b7a
patchoat/patchoat.cc
runtime/instruction_set.cc
runtime/instruction_set.h
runtime/instruction_set_test.cc
runtime/native/dalvik_system_DexFile.cc
runtime/parsed_options.cc