mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
Add a (not very meaningful) default constructor for AllocInfo objects.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13773 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6b1f58b6a4
commit
1812268126
@ -32,10 +32,14 @@ struct AllocInfo {
|
||||
AllocStateTy AllocState;
|
||||
int Placement;
|
||||
|
||||
AllocInfo (unsigned Instruction_, unsigned Operand_,
|
||||
AllocStateTy AllocState_, int Placement_) :
|
||||
Instruction (Instruction_), Operand (Operand_),
|
||||
AllocState (AllocState_), Placement (Placement_) { }
|
||||
AllocInfo (int Inst_, int Op_, AllocStateTy State_, int Place_) :
|
||||
Instruction(Inst_), Operand(Op_), AllocState(State_), Placement(Place_) { }
|
||||
|
||||
/// AllocInfo constructor -- Default constructor creates an invalid AllocInfo
|
||||
/// (presumably to be replaced with something meaningful later).
|
||||
///
|
||||
AllocInfo () :
|
||||
Instruction(-1), Operand(-1), AllocState(NotAllocated), Placement(-1) { }
|
||||
|
||||
/// getConstantType - Return a StructType representing an AllocInfo object.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user