aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/MachineFunction.cpp4
-rw-r--r--lib/Target/ARM/ARMConstantPoolValue.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/MachineFunction.cpp b/lib/CodeGen/MachineFunction.cpp
index e6ae7dc224..682b8a7388 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 a9308898c8..fcaf2e6885 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;