diff options
author | Dan Gohman <gohman@apple.com> | 2008-07-11 22:44:52 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-07-11 22:44:52 +0000 |
commit | a54cf176613f9ae8301519a61b8935652c0fb8ae (patch) | |
tree | 5fb442b17f7de38a44e4b08e1e75b78ecd7a8614 /include/llvm/CodeGen/PseudoSourceValue.h | |
parent | eca64f0980e3f686a36007c53272780119635337 (diff) | |
download | external_llvm-a54cf176613f9ae8301519a61b8935652c0fb8ae.zip external_llvm-a54cf176613f9ae8301519a61b8935652c0fb8ae.tar.gz external_llvm-a54cf176613f9ae8301519a61b8935652c0fb8ae.tar.bz2 |
Include a frame index in the "fixed stack" pseudo source value
instead of using the frame index for the SVOffset, which was
inconsistent.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53486 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/PseudoSourceValue.h')
-rw-r--r-- | include/llvm/CodeGen/PseudoSourceValue.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/PseudoSourceValue.h b/include/llvm/CodeGen/PseudoSourceValue.h index 6d7fb1f..95ae1d4 100644 --- a/include/llvm/CodeGen/PseudoSourceValue.h +++ b/include/llvm/CodeGen/PseudoSourceValue.h @@ -35,9 +35,9 @@ namespace llvm { return V->getValueID() == PseudoSourceValueVal; } - /// A pseudo source value referencing to the stack frame of a function, + /// A pseudo source value referencing a fixed stack frame entry, /// e.g., a spill slot. - static const PseudoSourceValue *getFixedStack(); + static const PseudoSourceValue *getFixedStack(int FI); /// A source value referencing the area below the stack frame of a function, /// e.g., the argument space. |