[llvm] r261664 - [WebAssembly] Add TODO comment to revisit red zone size
Derek Schuff via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 23 10:17:48 PST 2016
Author: dschuff
Date: Tue Feb 23 12:17:46 2016
New Revision: 261664
URL: http://llvm.org/viewvc/llvm-project?rev=261664&view=rev
Log:
[WebAssembly] Add TODO comment to revisit red zone size
Modified:
llvm/trunk/lib/Target/WebAssembly/WebAssemblyFrameLowering.h
Modified: llvm/trunk/lib/Target/WebAssembly/WebAssemblyFrameLowering.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/WebAssemblyFrameLowering.h?rev=261664&r1=261663&r2=261664&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyFrameLowering.h (original)
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyFrameLowering.h Tue Feb 23 12:17:46 2016
@@ -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()
More information about the llvm-commits
mailing list