mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 17:25:21 +00:00
Use new SDIselParamAttr enumeration. This removes "magick" constants
from formal attributes' flags processing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34963 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -123,8 +123,8 @@ void CallingConvEmitter::EmitAction(Record *Action,
|
||||
} else if (Action->isSubClassOf("CCPromoteToType")) {
|
||||
Record *DestTy = Action->getValueAsDef("DestTy");
|
||||
O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n";
|
||||
O << IndentStr << "LocInfo = (ArgFlags & 1) ? CCValAssign::SExt"
|
||||
<< " : CCValAssign::ZExt;\n";
|
||||
O << IndentStr << "LocInfo = (ArgFlags & SDISelParamFlags::Signed) ? \n"
|
||||
<< IndentStr << IndentStr << "CCValAssign::SExt : CCValAssign::ZExt;\n";
|
||||
} else {
|
||||
Action->dump();
|
||||
throw "Unknown CCAction!";
|
||||
|
Reference in New Issue
Block a user