Skip to content

Commit

Permalink
Added description of offset_guard_size
Browse files Browse the repository at this point in the history
  • Loading branch information
syrusakbary committed Dec 15, 2018
1 parent 7e78d3c commit 1057131
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/webassembly/memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ pub struct LinearMemory {
// to set a maximum.
maximum: Option<u32>,

// The size of the extra guard pages after the end.
// Is used to optimize loads and stores with constant offsets.
offset_guard_size: usize,
}

Expand Down

0 comments on commit 1057131

Please sign in to comment.