diff options
Diffstat (limited to 'llvm/lib/Target/SparcV9/SparcV9InstrSelection.cpp')
-rw-r--r-- | llvm/lib/Target/SparcV9/SparcV9InstrSelection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/SparcV9/SparcV9InstrSelection.cpp b/llvm/lib/Target/SparcV9/SparcV9InstrSelection.cpp index 352122ccf20..dbe40acad33 100644 --- a/llvm/lib/Target/SparcV9/SparcV9InstrSelection.cpp +++ b/llvm/lib/Target/SparcV9/SparcV9InstrSelection.cpp @@ -2527,7 +2527,7 @@ GetInstructionsByRule(InstructionNode* subtreeRoot, const Type* argType = argVal->getType(); unsigned regType = regInfo.getRegTypeForDataType(argType); unsigned argSize = target.getTargetData().getTypeSize(argType); - int regNumForArg = TargetRegInfo::getInvalidRegNum(); + int regNumForArg = SparcV9RegInfo::getInvalidRegNum(); unsigned regClassIDOfArgReg; // Check for FP arguments to varargs functions. |