summaryrefslogtreecommitdiff
path: root/lib/CodeGen/PrologEpilogInserter.h
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-03-10 00:13:42 +0000
committerJim Grosbach <grosbach@apple.com>2010-03-10 00:13:42 +0000
commit7c617b5e53987d786451dd668b5113f2e2b983f8 (patch)
tree27adde717bc1ab01b7309247616a9f3ac9cef9c0 /lib/CodeGen/PrologEpilogInserter.h
parent7dda453410eb957cd52cff4f8fa8d5a9c09e28df (diff)
downloadllvm-7c617b5e53987d786451dd668b5113f2e2b983f8.tar.gz
llvm-7c617b5e53987d786451dd668b5113f2e2b983f8.tar.bz2
llvm-7c617b5e53987d786451dd668b5113f2e2b983f8.tar.xz
Clear up the last (famous last words) frame index value reuse issues for Thumb1.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98109 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PrologEpilogInserter.h')
-rw-r--r--lib/CodeGen/PrologEpilogInserter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/PrologEpilogInserter.h b/lib/CodeGen/PrologEpilogInserter.h
index 931f1eb231..aa95773596 100644
--- a/lib/CodeGen/PrologEpilogInserter.h
+++ b/lib/CodeGen/PrologEpilogInserter.h
@@ -102,7 +102,8 @@ namespace llvm {
// When using the scavenger post-pass to resolve frame reference
// materialization registers, maintain a map of the registers to
// the constant value and SP adjustment associated with it.
- typedef std::pair<int, int> FrameConstantEntry;
+ typedef std::pair<TargetRegisterInfo::FrameIndexValue, int>
+ FrameConstantEntry;
DenseMap<unsigned, FrameConstantEntry> FrameConstantRegMap;
#ifndef NDEBUG