const Type *getType() const { return Ty; }
- /// getRelocatationInfo - This method classifies the entry according to
+ /// getRelocationInfo - This method classifies the entry according to
/// whether or not it may generate a relocation entry. This must be
/// conservative, so if it might codegen to a relocatable entry, it should say
/// so. The return values are:
/// resolvable by the static linker, so the dynamic linker will never see
/// them.
/// 2: This entry may have arbitrary relocations.
- virtual unsigned getRelocatationInfo() const = 0;
+ virtual unsigned getRelocationInfo() const = 0;
virtual int getExistingMachineCPValue(MachineConstantPool *CP,
unsigned Alignment) = 0;
const Type *getType() const;
- /// getRelocatationInfo - This method classifies the entry according to
+ /// getRelocationInfo - This method classifies the entry according to
/// whether or not it may generate a relocation entry. This must be
/// conservative, so if it might codegen to a relocatable entry, it should say
/// so. The return values are:
/// resolvable by the static linker, so the dynamic linker will never see
/// them.
/// 2: This entry may have arbitrary relocations.
- unsigned getRelocatationInfo() const;
+ unsigned getRelocationInfo() const;
};
/// The MachineConstantPool class keeps track of constants referenced by a
}
-unsigned MachineConstantPoolEntry::getRelocatationInfo() const {
+unsigned MachineConstantPoolEntry::getRelocationInfo() const {
if (isMachineConstantPoolEntry())
- return Val.MachineCPVal->getRelocatationInfo();
+ return Val.MachineCPVal->getRelocationInfo();
// FIXME: This API sucks.
bool isStub() const { return Kind == ARMCP::CPStub; }
unsigned char getPCAdjustment() const { return PCAdjust; }
- virtual unsigned getRelocatationInfo() const {
+ virtual unsigned getRelocationInfo() const {
// FIXME: This is conservatively claiming that these entries require a
// relocation, we may be able to do better than this.
return 2;