diff options
author | Devang Patel <dpatel@apple.com> | 2011-09-08 22:59:09 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-09-08 22:59:09 +0000 |
commit | 9aee335c23bec4f6d1b2cab3bca76231d7b0d556 (patch) | |
tree | 7e73f7f79eff8960ef9c45c17338c5f33ad243e3 /include/llvm/CodeGen/FunctionLoweringInfo.h | |
parent | 441462f9328cc7fb86af74c9568a7f70b7bd1fbc (diff) | |
download | external_llvm-9aee335c23bec4f6d1b2cab3bca76231d7b0d556.zip external_llvm-9aee335c23bec4f6d1b2cab3bca76231d7b0d556.tar.gz external_llvm-9aee335c23bec4f6d1b2cab3bca76231d7b0d556.tar.bz2 |
Directly point debug info to the stack slot of the arugment, instead of trying to keep track of vreg in which it the arugment is copied. The LiveDebugVariable can keep track of variable's ranges.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139330 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/FunctionLoweringInfo.h')
-rw-r--r-- | include/llvm/CodeGen/FunctionLoweringInfo.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/FunctionLoweringInfo.h b/include/llvm/CodeGen/FunctionLoweringInfo.h index 26214a6..09dac85 100644 --- a/include/llvm/CodeGen/FunctionLoweringInfo.h +++ b/include/llvm/CodeGen/FunctionLoweringInfo.h @@ -199,12 +199,12 @@ public: LiveOutRegInfo[Reg].IsValid = false; } - /// setByValArgumentFrameIndex - Record frame index for the byval + /// setArgumentFrameIndex - Record frame index for the byval /// argument. - void setByValArgumentFrameIndex(const Argument *A, int FI); + void setArgumentFrameIndex(const Argument *A, int FI); - /// getByValArgumentFrameIndex - Get frame index for the byval argument. - int getByValArgumentFrameIndex(const Argument *A); + /// getArgumentFrameIndex - Get frame index for the byval argument. + int getArgumentFrameIndex(const Argument *A); private: /// LiveOutRegInfo - Information about live out vregs. |