commit | 10f0ca2844e82a3319a12246af913e14f93194ef | [log] [tgz] |
---|---|---|
author | Logan Chien <logan.chien@mediatek.com> | Tue Sep 23 23:01:47 2014 +0800 |
committer | Logan Chien <logan.chien@mediatek.com> | Wed Sep 24 23:05:39 2014 +0800 |
tree | 1c1d4c7094330cfeabb10683eb5c3cb6c79be8fd | |
parent | b36bba6d35e88687852b108c8d4b73b3ec2a9397 [diff] |
Fix "const-class v0, I" for libartd.so This CL fixes the verification of "const-class v0, I" by adding HasClassVirtual() to PrimitiveType. Without this CL, the DCHECK for HasClass() in RegType::GetClass() will raise an assertion failure, since the verifier is trying to get the class object for the dex cache. This issue can be reproduced by running the CTS dot.junit.opcodes.const_class.Main_testN2 with libartd.so. Change-Id: I605a3fcf7dd9d63e1f739fbb3153d0367911bb3e