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

Function canReceiveNativeState

valdi/src/valdi/hermes/HermesJavaScriptContext.cpp:893–895  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

891
892hermes::vm::CallResult<hermes::vm::PseudoHandle<hermes::vm::HermesValue>> HermesJavaScriptContext::doCall(
893 hermes::vm::ScopedNativeCallFrame& callFrame,
894 const hermes::vm::Handle<hermes::vm::Callable>& handle,
895 JSFunctionCallContext& callContext) {
896 if (callFrame.overflowed()) {
897 return _runtime->raiseStackOverflow(hermes::vm::Runtime::StackOverflowKind::NativeStack);
898 }

Callers 2

valueToWrappedObjectMethod · 0.85
hasNativeStateFunction · 0.85

Calls 1

isProxyObjectMethod · 0.45

Tested by

no test coverage detected