Chromium Code Reviews| Index: src/flag-definitions.h |
| diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
| index c201316be3f23076e68a1b249441604fc36eb22a..c821f3273b6b5890351820f36aa08331977d47f1 100644 |
| --- a/src/flag-definitions.h |
| +++ b/src/flag-definitions.h |
| @@ -527,6 +527,9 @@ DEFINE_BOOL(wasm_simd_prototype, false, |
| DEFINE_BOOL(wasm_eh_prototype, false, |
| "enable prototype exception handling opcodes for wasm") |
| +DEFINE_BOOL(wasm_trap_handler, false, |
| + "use signal handlers to catch out of bounds memory access in wasm") |
|
Mircea Trofin
2016/09/02 04:05:45
do you want to call this flag wasm_trap_handler_x6
Eric Holk
2016/09/02 20:05:32
I added a note in the comment. We could also make
|
| + |
| // Profiler flags. |
| DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") |
| // 0x1800 fits in the immediate field of an ARM instruction. |