commit | 29ba1b068fc9f5a8011782c147b1f7732928aac7 | [log] [tgz] |
---|---|---|
author | Roland Levillain <rpl@google.com> | Fri Mar 13 11:45:07 2015 +0000 |
committer | Roland Levillain <rpl@google.com> | Fri Mar 13 12:28:43 2015 +0000 |
tree | 5b61289b1e135cce6f01e8c9cbcaa747a39f196c | |
parent | d9a59ca8f038a0f93a4e1504e0f7f8f388848719 [diff] |
Fix the computation of the size of the stack maps region. In art::StackMapStream::ComputeStackMapSize, compute the size of a CodeInfo's stack maps region using the stack mask size, not the maximum element of the stack mask. Also, rename this method as art::StackMapStream::ComputeStackMapsSize to make it clear it that it covers all the stack maps of the CodeInfo item, not just one stack map. Change-Id: Icad21946dbca6e1ade2b82c9c2c535fdfed110a9