MCPcopy Create free account
hub / github.com/Snapchat/Valdi / TEST

Function TEST

valdi/test/runtime/JavaScriptTypes_tests.cpp:328–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326
327 void releasePropertyName(const JSPropertyName& value) override {
328 auto ptr = value.bridge<void*>();
329 unsafeBridge<InternedStringImpl>(ptr)->unsafeReleaseInner();
330 }
331
332 void garbageCollect() override {}
333
334 void enqueueMicrotask(const JSValue& value, JSExceptionTracker& exceptionTracker) override {}
335
336 JavaScriptContextMemoryStatistics dumpMemoryStatistics() override {
337 return JavaScriptContextMemoryStatistics();

Callers

nothing calls this directly

Calls 15

strongSmallRefFunction · 0.85
getAllDisposablesMethod · 0.80
retainDisposablesMethod · 0.80
releaseDisposablesMethod · 0.80
toSharedMethod · 0.80
clearErrorMethod · 0.80
getExceptionAndClearMethod · 0.80
getInternedStringMethod · 0.80
getMethod · 0.65
clearMethod · 0.65
setMethod · 0.65
JSValueClass · 0.50

Tested by

no test coverage detected