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 07:18:56 +0000 (00:18 -0700)
commitaabbb2066a715b3fd8e752291f74c6d77b970450
treed982f56b5395660ec269ee6ce9abcdb587181297
parentd6ee5033433619a893a8f20319efcf8c8b1d1016
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
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