summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2018-08-22 00:20:02 +0000
committerHeejin Ahn <aheejin@gmail.com>2018-08-22 00:20:02 +0000
commitc4df1d182c13c0665868e39aa7ee1e967368db40 (patch)
tree7aa17cf0ddcefa85c2d8ed5da0aaa0b3d027273b /llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h
parent1e8a2c963c804770bb58fbbd0103da2a86217c15 (diff)
downloadbcm5719-llvm-c4df1d182c13c0665868e39aa7ee1e967368db40.tar.gz
bcm5719-llvm-c4df1d182c13c0665868e39aa7ee1e967368db40.zip
[WebAssembly] Change comments on SP writing back (NFC)
Summary: We now write back not to memory but to __stack_pointer global. Reviewers: dschuff Subscribers: sbc100, jgravelle-google, sunfish, llvm-commits Differential Revision: https://reviews.llvm.org/D51074 llvm-svn: 340372
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h b/llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h
index e888aaf3aef..5e744ad498b 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h
@@ -24,7 +24,8 @@ class MachineFrameInfo;
class WebAssemblyFrameLowering final : public TargetFrameLowering {
public:
/// Size of the red zone for the user stack (leaf functions can use this much
- /// space below the stack pointer without writing it back to memory).
+ /// space below the stack pointer without writing it back to __stack_pointer
+ /// global).
// TODO: (ABI) Revisit and decide how large it should be.
static const size_t RedZoneSize = 128;
OpenPOWER on IntegriCloud