mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-07 21:20:18 +00:00
[LoopUtils] Move a private constructor nearer the other private members
This was part of Adam Nemet's review feedback that I forgot to implement. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246301 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4b1821fa36
commit
f5ab7a4dbb
@ -255,9 +255,6 @@ public:
|
||||
IK_PtrInduction ///< Pointer induction var. Step = C / sizeof(elem).
|
||||
};
|
||||
|
||||
private:
|
||||
/// Private constructor - use \c isInductionPHI.
|
||||
InductionDescriptor(Value *Start, InductionKind K, ConstantInt *Step);
|
||||
public:
|
||||
/// Default constructor - creates an invalid induction.
|
||||
InductionDescriptor()
|
||||
@ -285,6 +282,9 @@ public:
|
||||
InductionDescriptor &D);
|
||||
|
||||
private:
|
||||
/// Private constructor - used by \c isInductionPHI.
|
||||
InductionDescriptor(Value *Start, InductionKind K, ConstantInt *Step);
|
||||
|
||||
/// Start value.
|
||||
TrackingVH<Value> StartValue;
|
||||
/// Induction kind.
|
||||
|
Loading…
x
Reference in New Issue
Block a user