summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-05-27 18:23:48 +0000
committerJim Grosbach <grosbach@apple.com>2010-05-27 18:23:48 +0000
commitad9aaf038e1886013ef7118608182c479c986a97 (patch)
tree2d307f2511ca144a9f5b46c6b402d8cdc68d0433 /include/llvm/CodeGen
parentaa02ff1a2beaef81d24f9a59324c8a7b02ad9c90 (diff)
downloadllvm-ad9aaf038e1886013ef7118608182c479c986a97.tar.gz
llvm-ad9aaf038e1886013ef7118608182c479c986a97.tar.bz2
llvm-ad9aaf038e1886013ef7118608182c479c986a97.tar.xz
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/CodeGen')
-rw-r--r--include/llvm/CodeGen/ISDOpcodes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/ISDOpcodes.h b/include/llvm/CodeGen/ISDOpcodes.h
index a5e9dd5fe8..fdb9bfd655 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.