OSDN Git Service

Fallback to quick in case of soft verification errors
authorCalin Juravle <calin@google.com>
Wed, 1 Apr 2015 19:27:28 +0000 (20:27 +0100)
committerCalin Juravle <calin@google.com>
Fri, 10 Apr 2015 17:14:42 +0000 (18:14 +0100)
commitc751d37e692d89b360f3c09421401f581b5c6d06
treee8291a99d7b407ac2dbf0680df0876384821812c
parent8e5fc53bd2f9ab5a46547959a176eba176ee115f
Fallback to quick in case of soft verification errors

Add a regression test: using uninitialized values triggers a soft
verification error and optimizing should not crash.

Thanks to Stephen Kyle (stephenckyle@googlemail.com) for the bug report.

Bug: 19988704

Change-Id: I2493f737efd3fad72f6b41fb60eff1d3731613fb
compiler/dex/verified_method.cc
compiler/dex/verified_method.h
compiler/driver/compiler_driver.cc
compiler/driver/compiler_driver.h
compiler/optimizing/inliner.cc
compiler/optimizing/optimizing_compiler.cc
compiler/optimizing/optimizing_compiler_stats.h
test/471-uninitialized-locals/expected.txt [new file with mode: 0644]
test/471-uninitialized-locals/info.txt [new file with mode: 0644]
test/471-uninitialized-locals/smali/Test.smali [new file with mode: 0644]
test/471-uninitialized-locals/src/Main.java [new file with mode: 0644]