mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-28 23:39:02 +00:00
LibJS: Unify bytecode instruction names with their helper names
This commit is contained in:
parent
272be6b20a
commit
b6435ca280
Notes:
sideshowbarker
2024-07-17 01:11:48 +09:00
Author: https://github.com/awesomekling
Commit: b6435ca280
Pull-request: https://github.com/SerenityOS/serenity/pull/21905
4 changed files with 16 additions and 16 deletions
|
@ -515,22 +515,22 @@ ThrowCompletionOr<void> Store::execute_impl(Bytecode::Interpreter&) const
|
|||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
static ThrowCompletionOr<Value> abstract_inequals(VM& vm, Value src1, Value src2)
|
||||
static ThrowCompletionOr<Value> loosely_inequals(VM& vm, Value src1, Value src2)
|
||||
{
|
||||
return Value(!TRY(is_loosely_equal(vm, src1, src2)));
|
||||
}
|
||||
|
||||
static ThrowCompletionOr<Value> abstract_equals(VM& vm, Value src1, Value src2)
|
||||
static ThrowCompletionOr<Value> loosely_equals(VM& vm, Value src1, Value src2)
|
||||
{
|
||||
return Value(TRY(is_loosely_equal(vm, src1, src2)));
|
||||
}
|
||||
|
||||
static ThrowCompletionOr<Value> typed_inequals(VM&, Value src1, Value src2)
|
||||
static ThrowCompletionOr<Value> strict_inequals(VM&, Value src1, Value src2)
|
||||
{
|
||||
return Value(!is_strictly_equal(src1, src2));
|
||||
}
|
||||
|
||||
static ThrowCompletionOr<Value> typed_equals(VM&, Value src1, Value src2)
|
||||
static ThrowCompletionOr<Value> strict_equals(VM&, Value src1, Value src2)
|
||||
{
|
||||
return Value(is_strictly_equal(src1, src2));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue