summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86RegisterInfo.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-02-02 00:17:00 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-02-02 00:17:00 +0000
commit4e7ff941f1f29efcd99e71073e4a22e1d921c00a (patch)
treeb08dbb4f7448c933648d7fb5c0a3bc55e25ce691 /llvm/lib/Target/X86/X86RegisterInfo.h
parent72df405dc56eabdb701b76b7da749e9a88f28cdf (diff)
downloadbcm5719-llvm-4e7ff941f1f29efcd99e71073e4a22e1d921c00a.tar.gz
bcm5719-llvm-4e7ff941f1f29efcd99e71073e4a22e1d921c00a.zip
Frame index can be negative.
llvm-svn: 46655
Diffstat (limited to 'llvm/lib/Target/X86/X86RegisterInfo.h')
-rw-r--r--llvm/lib/Target/X86/X86RegisterInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86RegisterInfo.h b/llvm/lib/Target/X86/X86RegisterInfo.h
index fd18c4135db..e36d5166c98 100644
--- a/llvm/lib/Target/X86/X86RegisterInfo.h
+++ b/llvm/lib/Target/X86/X86RegisterInfo.h
@@ -122,7 +122,7 @@ public:
// Debug information queries.
unsigned getRARegister() const;
unsigned getFrameRegister(MachineFunction &MF) const;
- int getFrameIndexOffset(MachineFunction &MF, unsigned FI) const;
+ int getFrameIndexOffset(MachineFunction &MF, int FI) const;
void getInitialFrameState(std::vector<MachineMove> &Moves) const;
// Exception handling queries.
OpenPOWER on IntegriCloud