mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 16:24:23 +00:00
Make Loop and MachineLoop be subclasses of LoopBase, rather than typedefs,
using the Curiously Recurring Template Pattern with LoopBase. This will help further refactoring, and future functionality for Loop. Also, Headers can now foward-declare Loop, instead of pulling in LoopInfo.h or doing tricks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75519 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -36,10 +36,9 @@ class CallSite;
|
||||
class Trace;
|
||||
class CallGraph;
|
||||
class TargetData;
|
||||
class Loop;
|
||||
class LoopInfo;
|
||||
class LLVMContext;
|
||||
template<class N> class LoopBase;
|
||||
typedef LoopBase<BasicBlock> Loop;
|
||||
|
||||
/// CloneModule - Return an exact copy of the specified module
|
||||
///
|
||||
|
Reference in New Issue
Block a user