[PATCH] D152235: [CodeGen] Disable default copy ctor and copy assignment operator for InterferenceCache
Bing Yu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 6 23:29:37 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rGeb63819b51c8: [CodeGen] Disable default copy ctor and copy assignment operator for… (authored by yubing).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152235/new/
https://reviews.llvm.org/D152235
Files:
llvm/lib/CodeGen/InterferenceCache.h
Index: llvm/lib/CodeGen/InterferenceCache.h
===================================================================
--- llvm/lib/CodeGen/InterferenceCache.h
+++ llvm/lib/CodeGen/InterferenceCache.h
@@ -156,7 +156,8 @@
public:
InterferenceCache() = default;
-
+ InterferenceCache &operator=(const InterferenceCache &other) = delete;
+ InterferenceCache(const InterferenceCache &other) = delete;
~InterferenceCache() {
free(PhysRegEntries);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152235.529179.patch
Type: text/x-patch
Size: 456 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230607/0fcfc408/attachment.bin>
More information about the llvm-commits
mailing list