Chromium Code Reviews| Index: src/flag-definitions.h |
| diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
| index 845b0498f83d4c2a96508a712f6b0e50cc2ed391..9b24a8e4599a175615eed0e4a1155c0a6194ad68 100644 |
| --- a/src/flag-definitions.h |
| +++ b/src/flag-definitions.h |
| @@ -525,7 +525,9 @@ DEFINE_BOOL(wasm_atomics_prototype, false, |
| DEFINE_BOOL(wasm_trap_handler, false, |
| "use signal handlers to catch out of bounds memory access in wasm" |
| - " (currently Linux x86_64 only)") |
| + " (experimental, currently Linux x86_64 only)") |
| +DEFINE_BOOL(wasm_guard_pages, false, |
| + "add guard pages to the end of WebWassembly memory (experimental)") |
|
titzer
2016/11/07 19:54:52
I think you should just be able to do a DEFINE_IMP
Eric Holk
2016/11/08 23:58:15
Oh awesome, this is exactly what I wanted.
done.
|
| // Profiler flags. |
| DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") |