Skip to content

Commit

Permalink
[Codegen][NFC] Replace 'RegisterRegAlloc::FunctionPassCtor'
Browse files Browse the repository at this point in the history
with 'RegisterRegAllocBase<T>::FunctionPassCtor'.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D145032
  • Loading branch information
wanglian authored and wanglian committed Mar 10, 2023
1 parent 7e92935 commit 7c2a357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/include/llvm/CodeGen/RegAllocRegistry.h
Expand Up @@ -66,7 +66,7 @@ class RegisterRegAlloc : public RegisterRegAllocBase<RegisterRegAlloc> {

/// RegisterRegAlloc's global Registry tracks allocator registration.
template <class T>
MachinePassRegistry<RegisterRegAlloc::FunctionPassCtor>
MachinePassRegistry<typename RegisterRegAllocBase<T>::FunctionPassCtor>
RegisterRegAllocBase<T>::Registry;

} // end namespace llvm
Expand Down

0 comments on commit 7c2a357

Please sign in to comment.