summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-08-26 21:56:30 +0000
committerJim Grosbach <grosbach@apple.com>2010-08-26 21:56:30 +0000
commit1ab3f16f06698596716593a30545799688acccd7 (patch)
tree0bb318ae78044dd993b5fea30d83ed5355d78874 /include
parente5a1426174986951a20ec6ffd119b77a24a65706 (diff)
downloadllvm-1ab3f16f06698596716593a30545799688acccd7.tar.gz
llvm-1ab3f16f06698596716593a30545799688acccd7.tar.bz2
llvm-1ab3f16f06698596716593a30545799688acccd7.tar.xz
tidy up a bit. no functional change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112228 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetRegisterInfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetRegisterInfo.h b/include/llvm/Target/TargetRegisterInfo.h
index 5bb092c121..2abdae7f33 100644
--- a/include/llvm/Target/TargetRegisterInfo.h
+++ b/include/llvm/Target/TargetRegisterInfo.h
@@ -645,7 +645,8 @@ public:
/// getFrameIndexInstrOffset - Get the offset from the referenced frame
/// index in the instruction, if the is one.
- virtual int64_t getFrameIndexInstrOffset(MachineInstr *MI, int Idx) const {
+ virtual int64_t getFrameIndexInstrOffset(const MachineInstr *MI,
+ int Idx) const {
return 0;
}