diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /js/public/ContextOptions.h | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'js/public/ContextOptions.h')
-rw-r--r-- | js/public/ContextOptions.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/js/public/ContextOptions.h b/js/public/ContextOptions.h index 25744ce9ea..0ac79c0ec7 100644 --- a/js/public/ContextOptions.h +++ b/js/public/ContextOptions.h @@ -27,9 +27,6 @@ class JS_PUBLIC_API ContextOptions { wasmVerbose_(false), wasmBaseline_(true), wasmIon_(true), -#define WASM_FEATURE(NAME, LOWER_NAME, STAGE, ...) wasm##NAME##_(STAGE == WasmFeatureStage::Default), - JS_FOR_WASM_FEATURES(WASM_FEATURE) -#undef WASM_FEATURE testWasmAwaitTier2_(false), disableIon_(false), disableEvalSecurityChecks_(false), @@ -98,15 +95,6 @@ class JS_PUBLIC_API ContextOptions { return *this; } -#define WASM_FEATURE(NAME, ...) \ - bool wasm##NAME() const { return wasm##NAME##_; } \ - ContextOptions& setWasm##NAME(bool flag) { \ - wasm##NAME##_ = flag; \ - return *this; \ - } - JS_FOR_WASM_FEATURES(WASM_FEATURE) -#undef WASM_FEATURE - bool throwOnAsmJSValidationFailure() const { return compileOptions_.throwOnAsmJSValidationFailure(); } @@ -224,9 +212,6 @@ class JS_PUBLIC_API ContextOptions { bool wasmVerbose_ : 1; bool wasmBaseline_ : 1; bool wasmIon_ : 1; -#define WASM_FEATURE(NAME, ...) bool wasm##NAME##_ : 1; - JS_FOR_WASM_FEATURES(WASM_FEATURE) -#undef WASM_FEATURE bool testWasmAwaitTier2_ : 1; // JIT options. |