diff options
author | Richard Howell <rhow@fb.com> | 2021-09-16 14:01:30 -0700 |
---|---|---|
committer | Daniel RodrÃguez Troitiño <danielrodriguez@fb.com> | 2021-09-16 14:02:14 -0700 |
commit | e6020b2a42245d888e941eba66fbce9d0c4ab0a8 (patch) | |
tree | d9e2a44645f9b4ca6da93a89f86e442e3fa92c17 /llvm/lib/Support/BinaryStreamWriter.cpp | |
parent | 2aa8474210044e41b527bd68870991b4104c4f2f (diff) | |
download | llvm-e6020b2a42245d888e941eba66fbce9d0c4ab0a8.zip llvm-e6020b2a42245d888e941eba66fbce9d0c4ab0a8.tar.gz llvm-e6020b2a42245d888e941eba66fbce9d0c4ab0a8.tar.bz2 |
[clang][NFC] refactor GlobalMethodPool to encapsulate its map
This refactor changes the GlobalMethodPool to a class that contains
the DenseMap of methods. This is to allow for the addition of a
separate DenseSet in a follow-up diff that will handle method
de-duplication when inserting methods into the global method pool.
Changes:
- the `GlobalMethods` pair becomes `GlobalMethodPool::Lists`
- the `GlobalMethodPool` becomes a class containing the `DenseMap` of methods
- pass through methods are added to maintain most of the existing code without changing `MethodPool` -> `MethodPool.Methods` everywhere
Reviewed By: dexonsmith
Differential Revision: https://reviews.llvm.org/D109898
Diffstat (limited to 'llvm/lib/Support/BinaryStreamWriter.cpp')
0 files changed, 0 insertions, 0 deletions