commit | 29e3b2467e4b050f0aca8b27a6adb0af2d114323 | [log] [tgz] |
---|---|---|
author | Garret Rieger <grieger@google.com> | Thu Aug 18 01:19:54 2022 +0000 |
committer | Garret Rieger <grieger@google.com> | Thu Aug 18 01:19:54 2022 +0000 |
tree | 9cc3370998560510dd4d823056bd7e370bbd5e22 | |
parent | 46b5dbd7ce05841d37b009c2d35004c147f44934 [diff] [blame] |
[repacker] optimzie remove_real_links as it's a hot method.
diff --git a/src/graph/graph.hh b/src/graph/graph.hh index ab95a71..64878a8 100644 --- a/src/graph/graph.hh +++ b/src/graph/graph.hh
@@ -141,7 +141,7 @@ { for (unsigned i = 0; i < obj.real_links.length; i++) { - auto& link = obj.real_links[i]; + auto& link = obj.real_links.arrayZ[i]; if (link.objidx != child_index) continue;