summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.h
diff options
context:
space:
mode:
authorLogan Chien <logan.chien@mediatek.com>2014-09-23 23:01:47 +0800
committerLogan Chien <logan.chien@mediatek.com>2014-09-24 23:05:39 +0800
commit10f0ca2844e82a3319a12246af913e14f93194ef (patch)
tree1c1d4c7094330cfeabb10683eb5c3cb6c79be8fd /compiler/optimizing/graph_visualizer.h
parentb36bba6d35e88687852b108c8d4b73b3ec2a9397 (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
Diffstat (limited to 'compiler/optimizing/graph_visualizer.h')
0 files changed, 0 insertions, 0 deletions