OSDN Git Service

[WebAssembly] Write stack pointer back to memory when FP is used
authorDerek Schuff <dschuff@google.com>
Sat, 20 Feb 2016 22:18:47 +0000 (22:18 +0000)
committerDerek Schuff <dschuff@google.com>
Sat, 20 Feb 2016 22:18:47 +0000 (22:18 +0000)
commit545c0902d48be047971796710dd38d5ba57f9bd7
tree57fe0ebf0838b18ae6bd425f5c07f9e20be77351
parent37d3f7f35c14e635856382f5522fef8dbc75bf07
[WebAssembly] Write stack pointer back to memory when FP is used

The stack pointer is bumped when there is a frame pointer or when there
are static-size objects, but was only getting written back when there
were static-size objects.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@261453 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp
test/CodeGen/WebAssembly/userstack.ll