15 int mode =
args.smi_value_at(0);
20 return *isolate->factory()->ToBoolean(
result);
26 int mode =
args.smi_value_at(0);
33 maybe_result.FromJust());
34 return *isolate->factory()->ToBoolean(
result);
43 return *isolate->factory()->ToBoolean(
result);
52 return *isolate->factory()->ToBoolean(
result);
62 return *isolate->factory()->ToBoolean(maybe_result.FromJust());
84 if (IsJSReceiver(*
x)) {
104 if (!IsBigInt(*left_obj) || !IsBigInt(*right_obj)) {
106 isolate, NewTypeError(MessageTemplate::kBigIntMixedTypes));
117 int opcode =
args.smi_value_at(1);
122 case Operation::kBitwiseNot:
125 case Operation::kNegate:
128 case Operation::kIncrement:
131 case Operation::kDecrement:
static Maybe< ComparisonResult > CompareToString(Isolate *isolate, DirectHandle< BigInt > x, DirectHandle< String > y)
static Maybe< bool > EqualToString(Isolate *isolate, DirectHandle< BigInt > x, DirectHandle< String > y)
static DirectHandle< Number > ToNumber(Isolate *isolate, DirectHandle< BigInt > x)
static MaybeDirectHandle< BigInt > Exponentiate(Isolate *isolate, DirectHandle< BigInt > base, DirectHandle< BigInt > exponent)
static MaybeHandle< BigInt > Increment(Isolate *isolate, DirectHandle< BigInt > x)
static bool EqualToBigInt(Tagged< BigInt > x, Tagged< BigInt > y)
static bool EqualToNumber(DirectHandle< BigInt > x, DirectHandle< Object > y)
static MaybeHandle< BigInt > Decrement(Isolate *isolate, DirectHandle< BigInt > x)
static Handle< BigInt > UnaryMinus(Isolate *isolate, DirectHandle< BigInt > x)
static MaybeDirectHandle< BigInt > BitwiseNot(Isolate *isolate, DirectHandle< BigInt > x)
static ComparisonResult CompareToNumber(DirectHandle< BigInt > x, DirectHandle< Object > y)
static V8_EXPORT_PRIVATE MaybeHandle< BigInt > FromNumber(Isolate *isolate, DirectHandle< Object > number)
static V8_WARN_UNUSED_RESULT HandleType< Object >::MaybeType ToPrimitive(Isolate *isolate, HandleType< JSReceiver > receiver, ToPrimitiveHint hint=ToPrimitiveHint::kDefault)
#define RUNTIME_FUNCTION(Name)
#define ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, dst, call)
#define THROW_NEW_ERROR_RETURN_FAILURE(isolate, call)
#define MAYBE_RETURN(call, value)
#define RETURN_RESULT_OR_FAILURE(isolate, call)
base::Vector< const DirectHandle< Object > > args
ZoneVector< RpoNumber > & result
bool ComparisonResultToBool(Operation op, ComparisonResult result)
bool IsNumber(Tagged< Object > obj)
Tagged< To > Cast(Tagged< From > value, const v8::SourceLocation &loc=INIT_SOURCE_LOCATION_IN_DEBUG)
#define DCHECK_EQ(v1, v2)