RegisterRegAlloc::setDefault(RegAlloc);
}
- // This forces linking of the linear scan register allocator,
- // so -regalloc=linearscan still works in clang.
- if (Ctor == createLinearScanRegisterAllocator)
- return createLinearScanRegisterAllocator();
-
if (Ctor != createDefaultRegisterAllocator)
return Ctor();