mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 19:19:30 +00:00
LibJS: Remove value_or from JS::Value
Some checks are pending
CI / Lagom (x86_64, Sanitizer_CI, false, ubuntu-24.04, Linux, GNU) (push) Waiting to run
CI / Lagom (x86_64, Sanitizer_CI, true, ubuntu-24.04, Linux, Clang) (push) Waiting to run
CI / Lagom (arm64, Sanitizer_CI, false, macos-15, macOS, Clang) (push) Waiting to run
CI / Lagom (x86_64, Fuzzers_CI, false, ubuntu-24.04, Linux, Clang) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (arm64, macos-15, macOS, macOS-universal2) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (x86_64, ubuntu-24.04, Linux, Linux-x86_64) (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
Some checks are pending
CI / Lagom (x86_64, Sanitizer_CI, false, ubuntu-24.04, Linux, GNU) (push) Waiting to run
CI / Lagom (x86_64, Sanitizer_CI, true, ubuntu-24.04, Linux, Clang) (push) Waiting to run
CI / Lagom (arm64, Sanitizer_CI, false, macos-15, macOS, Clang) (push) Waiting to run
CI / Lagom (x86_64, Fuzzers_CI, false, ubuntu-24.04, Linux, Clang) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (arm64, macos-15, macOS, macOS-universal2) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (x86_64, ubuntu-24.04, Linux, Linux-x86_64) (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
This is no longer used after 3cf5053
.
This commit is contained in:
parent
420949b134
commit
9e44d86915
Notes:
github-actions[bot]
2025-04-27 15:15:52 +00:00
Author: https://github.com/shannonbooth
Commit: 9e44d86915
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4496
1 changed files with 0 additions and 9 deletions
|
@ -379,15 +379,6 @@ public:
|
|||
|
||||
[[nodiscard]] String to_string_without_side_effects() const;
|
||||
|
||||
#if 0
|
||||
Value value_or(Value fallback) const
|
||||
{
|
||||
if (is_special_empty_value())
|
||||
return fallback;
|
||||
return *this;
|
||||
}
|
||||
#endif
|
||||
|
||||
[[nodiscard]] GC::Ref<PrimitiveString> typeof_(VM&) const;
|
||||
|
||||
bool operator==(Value const&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue