diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-05-27 18:23:48 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-05-27 18:23:48 +0000 |
commit | ad9aaf038e1886013ef7118608182c479c986a97 (patch) | |
tree | 2d307f2511ca144a9f5b46c6b402d8cdc68d0433 /include/llvm | |
parent | aa02ff1a2beaef81d24f9a59324c8a7b02ad9c90 (diff) | |
download | external_llvm-ad9aaf038e1886013ef7118608182c479c986a97.zip external_llvm-ad9aaf038e1886013ef7118608182c479c986a97.tar.gz external_llvm-ad9aaf038e1886013ef7118608182c479c986a97.tar.bz2 |
add ISD::STACKADDR to get the current stack pointer. Will be used by sjlj EH
to update the jmpbuf in the presence of VLAs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104862 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/CodeGen/ISDOpcodes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/ISDOpcodes.h b/include/llvm/CodeGen/ISDOpcodes.h index a5e9dd5..fdb9bfd 100644 --- a/include/llvm/CodeGen/ISDOpcodes.h +++ b/include/llvm/CodeGen/ISDOpcodes.h @@ -72,6 +72,9 @@ namespace ISD { // parent's frame or return address, and so on. FRAMEADDR, RETURNADDR, + // STACKADDR - The current stack pointer address. + STACKADDR, + // FRAME_TO_ARGS_OFFSET - This node represents offset from frame pointer to // first (possible) on-stack argument. This is needed for correct stack // adjustment during unwind. |