diff options
author | Mathieu Chartier <mathieuc@google.com> | 2017-04-17 20:12:29 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2017-04-18 09:49:40 -0700 |
commit | 71b1708f1e610143dc657e370f85eebbde4a900e (patch) | |
tree | 165b24e1d70cdc3d92f845f8eb7485f2a9d3e061 /compiler/optimizing/graph_visualizer.cc | |
parent | 27fb1dc467effbd8df43e6207743fdb7bcee4044 (diff) |
Use correct type for GetValueFromShadowFrame
The field type is not necessarily the input type for boxed
primitives. If the field type is < 32 bits, it means there will be
partial object pointer in the JValue. If a conversion check is
later needed in GetUnboxedTypeAndValue, it will crash. The fix is
to use the PTypes.
Bug: 37446461
Test: test-art-host
Change-Id: I0c4b405f0c13910523b98a87ef12b9f302a5e241
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions