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

Function getHeapDumpBuilder

valdi/src/valdi/quickjs/QuickJSJavaScriptContext.cpp:1067–1069  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1065
1066double QuickJSJavaScriptContext::valueToDouble(const Valdi::JSValue& value,
1067 Valdi::JSExceptionTracker& exceptionTracker) {
1068 auto guard = _threadAccessChecker.guard();
1069 double number = 0;
1070
1071 if (!checkCall(exceptionTracker, JS_ToFloat64(_context, &number, fromValdiJSValue(value)))) {
1072 return 0;

Callers 3

onObjectBeginFunction · 0.85
onObjectEdgePropertyFunction · 0.85
onObjectEdgeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected