mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-05 13:29:22 +00:00
Eliminate an unused parameter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39828 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a346615d11
commit
3bf6e183d5
@ -30,7 +30,7 @@ AsmWriterNum("asmwriternum", cl::init(0),
|
|||||||
|
|
||||||
/// getValueType - Return the MCV::ValueType that the specified TableGen record
|
/// getValueType - Return the MCV::ValueType that the specified TableGen record
|
||||||
/// corresponds to.
|
/// corresponds to.
|
||||||
MVT::ValueType llvm::getValueType(Record *Rec, const CodeGenTarget *CGT) {
|
MVT::ValueType llvm::getValueType(Record *Rec) {
|
||||||
return (MVT::ValueType)Rec->getValueAsInt("Value");
|
return (MVT::ValueType)Rec->getValueAsInt("Value");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -623,7 +623,7 @@ CodeGenIntrinsic::CodeGenIntrinsic(Record *R, CodeGenTarget *CGT) {
|
|||||||
Record *TyEl = TypeList->getElementAsRecord(i);
|
Record *TyEl = TypeList->getElementAsRecord(i);
|
||||||
assert(TyEl->isSubClassOf("LLVMType") && "Expected a type!");
|
assert(TyEl->isSubClassOf("LLVMType") && "Expected a type!");
|
||||||
ArgTypes.push_back(TyEl->getValueAsString("TypeVal"));
|
ArgTypes.push_back(TyEl->getValueAsString("TypeVal"));
|
||||||
MVT::ValueType VT = getValueType(TyEl->getValueAsDef("VT"), CGT);
|
MVT::ValueType VT = getValueType(TyEl->getValueAsDef("VT"));
|
||||||
isOverloaded |= VT == MVT::iAny;
|
isOverloaded |= VT == MVT::iAny;
|
||||||
ArgVTs.push_back(VT);
|
ArgVTs.push_back(VT);
|
||||||
ArgTypeDefs.push_back(TyEl);
|
ArgTypeDefs.push_back(TyEl);
|
||||||
|
@ -35,7 +35,7 @@ enum SDNP { SDNPCommutative, SDNPAssociative, SDNPHasChain,
|
|||||||
|
|
||||||
/// getValueType - Return the MVT::ValueType that the specified TableGen record
|
/// getValueType - Return the MVT::ValueType that the specified TableGen record
|
||||||
/// corresponds to.
|
/// corresponds to.
|
||||||
MVT::ValueType getValueType(Record *Rec, const CodeGenTarget *CGT = 0);
|
MVT::ValueType getValueType(Record *Rec);
|
||||||
|
|
||||||
std::string getName(MVT::ValueType T);
|
std::string getName(MVT::ValueType T);
|
||||||
std::string getEnumName(MVT::ValueType T);
|
std::string getEnumName(MVT::ValueType T);
|
||||||
|
Loading…
Reference in New Issue
Block a user