OSDN Git Service

ART: Check var-arg count earlier in method verifier
authorTaiju Tsuiki <tzik@google.com>
Mon, 13 Apr 2015 05:21:00 +0000 (14:21 +0900)
committerAndreas Gampe <agampe@google.com>
Sat, 20 Jun 2015 00:41:23 +0000 (17:41 -0700)
commit29498a23bcfe47a7134552aacad5524ecb484a49
tree0f677bef57ab626caf3877e19df4e090920e2241
parent0420f81a5c6c08bc62060b8ff5dda8949f9a9ce9
ART: Check var-arg count earlier in method verifier

Check the count in vararg instructions before filling the temp
array. Avoids a DCHECK.

Bug: 21869663
Bug: 20170976

Change-Id: I1ff93502ab84c5967ad54d1b50dba517da791637
runtime/verifier/method_verifier.cc