summaryrefslogtreecommitdiff
path: root/compiler/optimizing/codegen_test_utils.h
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2017-05-08 14:50:47 -0700
committerAndreas Gampe <agampe@google.com>2017-05-08 14:54:37 -0700
commit95c466dd3348a875e42f8d5b85bd7eaddfb43cb9 (patch)
tree50e49accab33648a0056807d95c803d9e3a47317 /compiler/optimizing/codegen_test_utils.h
parente1e03503bd4222ef0201568268429ece4fba80d2 (diff)
ART: Fix GetErrorName.
Add missing case for JVMTI_ERROR_THREAD_SUSPENDED. Also return JVMTI_ERROR_ILLEGAL_ARGUMENT for unspecified inputs. Refactor the code * Remove the switch default case for case checking * Use a lambda to unify the return code. This saves 4K of so size. Add a test. Bug: 38133825 Test: m Test: art/test/testrunner/testrunner.py -b --host -t 901 Change-Id: If46b276b8abcd8b7b8ebbac1106f6b840761b997
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions