commit | ed59619b370ef23ffbb25d1d01f615e60a9262b6 | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Fri Jan 23 10:39:45 2015 +0000 |
committer | David Brazdil <dbrazdil@google.com> | Mon Jan 26 16:13:57 2015 +0000 |
tree | 6c93bb6ceff95f7aaf232825e050eecc05c7282d | |
parent | f90eec005997f98c1a9f874fbbf68414e5f9c766 [diff] |
Optimizing: Speed up HEnvironment use removal Removal of use records from HEnvironment vregs involved iterating over potentially large linked lists which made compilation of huge methods very slow. This patch turns use lists into doubly-linked lists, stores pointers to the relevant nodes inside HEnvironment and subsequently turns the removals into constant-time operations. Change-Id: I0e1d4d782fd624e7b8075af75d4adf0a0634a1ee