OSDN Git Service

ART: Reset runtime_throw_failure flag
authorAndreas Gampe <agampe@google.com>
Thu, 25 Jun 2015 17:26:40 +0000 (10:26 -0700)
committerAndreas Gampe <agampe@google.com>
Thu, 25 Jun 2015 19:51:37 +0000 (12:51 -0700)
commit6415013f0b9509fed8367871daaf66c6841223f1
tree238e59acda393f860d36f3bf80e80a01b59a347a
parent005deb0a1683f9ee03a2cf2785dc6a7d7a8f16be
ART: Reset runtime_throw_failure flag

The flag is instruction-specific. It transports the info from Fail
to the main loop. It must be cleared after each iteration.

Introduce a second flag to store whether we saw such a failure at
all.

Update test expectations.

Bug: 22080519

(cherry picked from commit d12e782bcee03ecb6dec41aa9673ef53b638dcea)

Change-Id: I32be914819946233babaa4cb7343844d97b61ba5
runtime/verifier/method_verifier.cc
runtime/verifier/method_verifier.h
test/003-omnibus-opcodes/src/UnresTest2.java
test/800-smali/expected.txt
test/800-smali/smali/b_22080519.smali [new file with mode: 0644]
test/800-smali/src/Main.java