mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-18 08:18:51 +00:00
Reimplement TargetMachineRegistry in terms of TargetRegistry.
- This is a temporary hack to aid in incremental refactoring, for now we allocate a new TargetMachineRegistryEntry on every getClosest... call. - No intended functionality change, other than the leaked memory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75766 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -49,6 +49,8 @@ namespace llvm {
|
||||
bool);
|
||||
|
||||
friend struct TargetRegistry;
|
||||
// FIXME: Temporary hack, please remove.
|
||||
friend struct TargetMachineRegistry;
|
||||
|
||||
/// Next - The next registered target in the linked list, maintained by the
|
||||
/// TargetRegistry.
|
||||
|
Reference in New Issue
Block a user