From 770bdfe30bba1d5d76ee4d151c839d3511fb96f4 Mon Sep 17 00:00:00 2001 From: Derek Schuff Date: Tue, 23 Feb 2016 18:17:46 +0000 Subject: [PATCH] [WebAssembly] Add TODO comment to revisit red zone size llvm-svn: 261664 --- llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h b/llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h index cb3b011..0422e1f 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h +++ b/llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h @@ -23,6 +23,9 @@ 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). + // TODO: (ABI) Revisit and decide how large it should be. static const size_t RedZoneSize = 128; WebAssemblyFrameLowering() -- 2.7.4