20 if (!IsUndefined(*
args.new_target(), isolate)) {
22 isolate, NewTypeError(MessageTemplate::kNotConstructor,
23 isolate->factory()->Symbol_string()));
28 if (!IsUndefined(*description, isolate)) {
43 return *isolate->SymbolFor(RootIndex::kPublicSymbolTable,
key,
false);
50 if (!IsSymbol(*obj)) {
52 isolate, NewTypeError(MessageTemplate::kSymbolKeyFor, obj));
57 if (symbol->is_in_public_symbol_table()) {
58 result = symbol->description();
63 DCHECK_EQ(isolate->heap()->public_symbol_table()->SlowReverseLookup(*symbol),
static V8_WARN_UNUSED_RESULT HandleType< String >::MaybeType ToString(Isolate *isolate, HandleType< T > input)
#define ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, dst, call)
#define THROW_NEW_ERROR_RETURN_FAILURE(isolate, call)
base::Vector< const DirectHandle< Object > > args
ZoneVector< RpoNumber > & result
Tagged< To > Cast(Tagged< From > value, const v8::SourceLocation &loc=INIT_SOURCE_LOCATION_IN_DEBUG)
#define DCHECK(condition)
#define DCHECK_EQ(v1, v2)