OSDN Git Service

Use a flag from the verifier to know if we should compile.
authorNicolas Geoffray <ngeoffray@google.com>
Wed, 24 Jun 2015 14:53:03 +0000 (15:53 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Wed, 24 Jun 2015 16:01:08 +0000 (17:01 +0100)
commit4824c27988c8eeb302791624bb3ce1d557b0db6c
treec14f74d9cc4c93cab04bee5c723e420a87db9cb3
parent22c4edd865bfdea29e80a789cef70e8e51d2a3a5
Use a flag from the verifier to know if we should compile.

Only used for the lack of bottom type in the aget-object case
for now. Could be used for more.

bug:21865466

Change-Id: I64c2c84dfa1c0d259631e65e5f44b94e4139e6a7
compiler/dex/quick/quick_compiler.cc
compiler/dex/verified_method.cc
compiler/dex/verified_method.h
compiler/optimizing/optimizing_compiler.cc
runtime/verifier/method_verifier.cc
runtime/verifier/method_verifier.h
test/518-null-array-get/expected.txt [new file with mode: 0644]
test/518-null-array-get/info.txt [new file with mode: 0644]
test/518-null-array-get/smali/NullArray.smali [new file with mode: 0644]
test/518-null-array-get/src/Main.java [new file with mode: 0644]