diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-08-30 19:47:04 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-08-30 19:47:04 +0000 |
commit | 151ab3e2f7b69d2b46fdc25cbad9d43f4a827ef1 (patch) | |
tree | ab357b1dc231d0d28ae96d8fdf31f5def9d7dad7 /include/llvm/ExecutionEngine/ExecutionEngine.h | |
parent | d07b7ec77203d4dbaf426786912a700cc07f0142 (diff) |
Adds support for variable sized allocas. For a variable sized alloca,
code is inserted to first check if the current stacklet has enough
space. If so, space is allocated by simply decrementing the stack
pointer. Otherwise a runtime routine (__morestack_allocate_stack_space
in libgcc) is called which allocates the required memory from the
heap.
Patch by Sanjoy Das.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138818 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ExecutionEngine/ExecutionEngine.h')
0 files changed, 0 insertions, 0 deletions