diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-02-02 00:17:00 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-02-02 00:17:00 +0000 |
commit | b8033e821d9ccad10ba8770c4561600a3e9ce6cc (patch) | |
tree | 898bd88d1adfa2542103cc722803559a10938261 /include/llvm | |
parent | 859efca7f9c412f251e2303fe1f0ae80728d2c91 (diff) |
Frame index can be negative.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46655 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Target/MRegisterInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Target/MRegisterInfo.h b/include/llvm/Target/MRegisterInfo.h index 8a90f50c06..ae3f27bb3a 100644 --- a/include/llvm/Target/MRegisterInfo.h +++ b/include/llvm/Target/MRegisterInfo.h @@ -588,7 +588,7 @@ public: /// getFrameIndexOffset - Returns the displacement from the frame register to /// the stack frame of the specified index. - virtual int getFrameIndexOffset(MachineFunction &MF, unsigned FI) const; + virtual int getFrameIndexOffset(MachineFunction &MF, int FI) const; /// getRARegister - This method should return the register where the return /// address can be found. |