From 354c0165e755fd857bc89792243b82387ee3936d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 21 Jul 2009 23:36:01 +0000 Subject: [PATCH] no really, I can spell! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76679 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/MachineConstantPool.h | 8 ++++---- lib/CodeGen/MachineFunction.cpp | 4 ++-- lib/Target/ARM/ARMConstantPoolValue.h | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/llvm/CodeGen/MachineConstantPool.h b/include/llvm/CodeGen/MachineConstantPool.h index acbbc664dc8..5ae641fb9ec 100644 --- a/include/llvm/CodeGen/MachineConstantPool.h +++ b/include/llvm/CodeGen/MachineConstantPool.h @@ -44,7 +44,7 @@ public: 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: @@ -55,7 +55,7 @@ public: /// 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; @@ -109,7 +109,7 @@ public: 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: @@ -120,7 +120,7 @@ public: /// 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 diff --git a/lib/CodeGen/MachineFunction.cpp b/lib/CodeGen/MachineFunction.cpp index e6ae7dc2245..682b8a7388a 100644 --- a/lib/CodeGen/MachineFunction.cpp +++ b/lib/CodeGen/MachineFunction.cpp @@ -544,9 +544,9 @@ const Type *MachineConstantPoolEntry::getType() const { } -unsigned MachineConstantPoolEntry::getRelocatationInfo() const { +unsigned MachineConstantPoolEntry::getRelocationInfo() const { if (isMachineConstantPoolEntry()) - return Val.MachineCPVal->getRelocatationInfo(); + return Val.MachineCPVal->getRelocationInfo(); // FIXME: This API sucks. diff --git a/lib/Target/ARM/ARMConstantPoolValue.h b/lib/Target/ARM/ARMConstantPoolValue.h index a9308898c86..fcaf2e6885a 100644 --- a/lib/Target/ARM/ARMConstantPoolValue.h +++ b/lib/Target/ARM/ARMConstantPoolValue.h @@ -65,7 +65,7 @@ public: 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; -- 2.34.1