diff options
author | Mehdi Amini <joker.eph@gmail.com> | 2020-09-02 19:10:36 +0000 |
---|---|---|
committer | Mehdi Amini <joker.eph@gmail.com> | 2020-09-02 19:10:56 +0000 |
commit | 01700c45eb22d848dd1dd980d7d46ae9aa034ade (patch) | |
tree | a77031e7821fc78d425fb333ba7fa80d62054a17 /clang/lib/Serialization/ModuleManager.cpp | |
parent | 2d11ae0a40e209a7b91aeff0c9cf28fe41dce93c (diff) | |
download | llvm-01700c45eb22d848dd1dd980d7d46ae9aa034ade.zip llvm-01700c45eb22d848dd1dd980d7d46ae9aa034ade.tar.gz llvm-01700c45eb22d848dd1dd980d7d46ae9aa034ade.tar.bz2 |
Store an Identifier instead of a StringRef for the OperationName inside an AbstractOperation (NFC)
Instead of storing a StringRef, we keep an Identifier which otherwise requires a lock on the context to retrieve.
This will allow to get an Identifier for any registered Operation for "free".
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D86994
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions