commit | 089142cf1d0c028b5a7c703baf0b97f4a4ada3f7 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Thu Jun 05 10:57:05 2014 +0100 |
committer | Vladimir Marko <vmarko@google.com> | Thu Jun 05 11:13:21 2014 +0100 |
tree | 0868af5fe31881ec24ed1b549fcb36fd91dd3f7c | |
parent | 8ab62f8cb31eb2d42eb2dd58becea4382719be54 [diff] |
Avoid register pool allocations on the heap. Create a helper template class ArrayRef and use it instead of std::vector<> for register pools in target_<arch>.cc to avoid these heap allocations during program startup. Change-Id: I4ab0205af9c1d28a239c0a105fcdc60ba800a70a