diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-21 23:36:01 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-21 23:36:01 +0000 |
commit | 9bd736e2f754ec3bd4c2b1d0b96cb9cc0a97f9c8 (patch) | |
tree | 92c850c878227f322c3a8351e296602d4557d8f2 | |
parent | cfb01e26bc5c5c485e7f1248ce336b0318983f49 (diff) | |
download | bcm5719-llvm-9bd736e2f754ec3bd4c2b1d0b96cb9cc0a97f9c8.tar.gz bcm5719-llvm-9bd736e2f754ec3bd4c2b1d0b96cb9cc0a97f9c8.zip |
no really, I can spell!
llvm-svn: 76679
-rw-r--r-- | llvm/include/llvm/CodeGen/MachineConstantPool.h | 8 | ||||
-rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 4 | ||||
-rw-r--r-- | llvm/lib/Target/ARM/ARMConstantPoolValue.h | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineConstantPool.h b/llvm/include/llvm/CodeGen/MachineConstantPool.h index acbbc664dc8..5ae641fb9ec 100644 --- a/llvm/include/llvm/CodeGen/MachineConstantPool.h +++ b/llvm/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/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index e6ae7dc2245..682b8a7388a 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/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/llvm/lib/Target/ARM/ARMConstantPoolValue.h b/llvm/lib/Target/ARM/ARMConstantPoolValue.h index a9308898c86..fcaf2e6885a 100644 --- a/llvm/lib/Target/ARM/ARMConstantPoolValue.h +++ b/llvm/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; |