Improve comment for memory_bound_check_mode.

Co-Authored-By: nlewycky <nick@wasmer.io>
This commit is contained in:
Heyang Zhou 2020-02-05 00:35:15 +08:00 committed by GitHub
parent bb79df7e69
commit fe5ed7b27a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,7 +110,7 @@ pub struct CompilerConfig {
/// Symbol information generated from emscripten; used for more detailed debug messages
pub symbol_map: Option<HashMap<u32, String>>,
/// Optionally override the automatically determined memory bound check mode.
/// How to make the decision whether to emit bounds checks for memory accesses.
pub memory_bound_check_mode: MemoryBoundCheckMode,
/// Whether to generate explicit stack checks against a field in `InternalCtx`.