mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-22 12:33:33 +02:00
Express one of MachineOperand's many constructors in terms of another, by means of default arguments.
llvm-svn: 11343
This commit is contained in:
parent
7d1652ca5c
commit
840e7e40fe
@ -129,13 +129,7 @@ private:
|
||||
int regNum; // register number for an explicit register
|
||||
// will be set for a value after reg allocation
|
||||
private:
|
||||
MachineOperand()
|
||||
: immedVal(0),
|
||||
flags(0),
|
||||
opType(MO_VirtualRegister),
|
||||
regNum(-1) {}
|
||||
|
||||
MachineOperand(int64_t ImmVal, MachineOperandType OpTy)
|
||||
MachineOperand(int64_t ImmVal = 0, MachineOperandType OpTy = MO_VirtualRegister)
|
||||
: immedVal(ImmVal),
|
||||
flags(0),
|
||||
opType(OpTy),
|
||||
|
Loading…
Reference in New Issue
Block a user