diff options
Diffstat (limited to 'deps/v8/src/optimized-compilation-info.h')
-rw-r--r-- | deps/v8/src/optimized-compilation-info.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/deps/v8/src/optimized-compilation-info.h b/deps/v8/src/optimized-compilation-info.h index a8cb8d220bf..ecb883f49dd 100644 --- a/deps/v8/src/optimized-compilation-info.h +++ b/deps/v8/src/optimized-compilation-info.h @@ -56,6 +56,7 @@ class V8_EXPORT_PRIVATE OptimizedCompilationInfo final { kTraceTurboJson = 1 << 14, kTraceTurboGraph = 1 << 15, kTraceTurboScheduled = 1 << 16, + kWasmRuntimeExceptionSupport = 1 << 17 }; // Construct a compilation info for optimized compilation. @@ -166,6 +167,14 @@ class V8_EXPORT_PRIVATE OptimizedCompilationInfo final { return GetFlag(kAnalyzeEnvironmentLiveness); } + void SetWasmRuntimeExceptionSupport() { + SetFlag(kWasmRuntimeExceptionSupport); + } + + bool wasm_runtime_exception_support() { + return GetFlag(kWasmRuntimeExceptionSupport); + } + bool trace_turbo_json_enabled() const { return GetFlag(kTraceTurboJson); } bool trace_turbo_graph_enabled() const { return GetFlag(kTraceTurboGraph); } |