Segmented stacks: omit __morestack call when there's no frame.
authorTim Northover <tnorthover@apple.com>
Thu, 22 May 2014 13:03:43 +0000 (13:03 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 22 May 2014 13:03:43 +0000 (13:03 +0000)
commitde70176f5ff5465cb32828ffcd70797c6ccb1f81
tree8e436a0c0ea4adcdfe767692d569529e4e8970cc
parent65ea1ad2086954740678842d1b877f817003f727
Segmented stacks: omit __morestack call when there's no frame.

Patch by Florian Zeitz

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209436 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMFrameLowering.cpp
lib/Target/X86/X86FrameLowering.cpp
test/CodeGen/ARM/segmented-stacks.ll
test/CodeGen/Thumb/segmented-stacks.ll
test/CodeGen/X86/segmented-stacks.ll