diff options
author | Calin Juravle <calin@google.com> | 2015-04-23 18:47:21 +0100 |
---|---|---|
committer | Calin Juravle <calin@google.com> | 2015-04-23 19:58:22 +0100 |
commit | 4f46ac5179967dda5966f2dcecf2cf08977951ef (patch) | |
tree | 4c9ea50d9a135767c6e9a4abcf9b9c401a033414 /compiler/optimizing/liveness_test.cc | |
parent | 4ceed922d44b68c3fa7cbe670014c9e2e003b92b (diff) | |
download | android_art-4f46ac5179967dda5966f2dcecf2cf08977951ef.tar.gz android_art-4f46ac5179967dda5966f2dcecf2cf08977951ef.tar.bz2 android_art-4f46ac5179967dda5966f2dcecf2cf08977951ef.zip |
Cleanup and improve stack map stream
- transform AddStackMapEntry into BeginStackMapEntry/EndStackMapEntry.
This allows for nicer code and less assumptions when searching for equal
dex register maps.
- store the components sizes and their start positions as fields to
avoid re-computation.
- store the current stack map entry as a field to avoid the copy
semantic when updating its value in the stack maps array.
- remove redundant methods and fix visibility for the remaining ones.
Change-Id: Ica2d2969d7e15993bdbf8bc41d9df083cddafd24
Diffstat (limited to 'compiler/optimizing/liveness_test.cc')
0 files changed, 0 insertions, 0 deletions