Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 6b234bc2bd3c00035e9fb5ba3cdb0e08d526992c..857d13c6296a123c866485332233ed6697b9ae28 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -7834,6 +7834,10 @@ Local<Symbol> v8::Symbol::GetUnscopables(Isolate* isolate) { |
return Utils::ToLocal(i_isolate->factory()->unscopables_symbol()); |
} |
+Local<Symbol> v8::Symbol::GetToPrimitive(Isolate* isolate) { |
+ i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate); |
+ return Utils::ToLocal(i_isolate->factory()->to_primitive_symbol()); |
+} |
Local<Symbol> v8::Symbol::GetToStringTag(Isolate* isolate) { |
i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate); |