From 1057131bc7e70ebcab49c9a1680ed85a2610364d Mon Sep 17 00:00:00 2001 From: Syrus Date: Fri, 14 Dec 2018 19:57:00 -0800 Subject: [PATCH] Added description of offset_guard_size --- src/webassembly/memory.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/webassembly/memory.rs b/src/webassembly/memory.rs index d166c15ff..b8fc6f4a6 100644 --- a/src/webassembly/memory.rs +++ b/src/webassembly/memory.rs @@ -26,6 +26,8 @@ pub struct LinearMemory { // to set a maximum. maximum: Option, + // The size of the extra guard pages after the end. + // Is used to optimize loads and stores with constant offsets. offset_guard_size: usize, }