summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaOverload.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2011-12-03 09:32:07 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2011-12-03 09:32:07 +0000
commit006e43bcc0836f442057154cecc64581af4cf54a (patch)
tree11347a2da0255cfe20812cb214b546ebbf2ced0e /clang/lib/Sema/SemaOverload.cpp
parent165ca1d4ba4385ab5ca1fe98976921f03e61f9cf (diff)
downloadbcm5719-llvm-006e43bcc0836f442057154cecc64581af4cf54a.tar.gz
bcm5719-llvm-006e43bcc0836f442057154cecc64581af4cf54a.zip
Check for stack space more intelligently.
libgcc sets the stack limit field in TCB to 256 bytes above the actual allocated stack limit. This means if the function's stack frame needs less than 256 bytes, we can just compare the stack pointer with the stack limit. This should result in lesser calls to __morestack. llvm-svn: 145766
Diffstat (limited to 'clang/lib/Sema/SemaOverload.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud