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

Method runtimeHeapDump

valdi/src/valdi/runtime/JavaScript/JavaScriptRuntime.cpp:2020–2025  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2018
2019 auto iosAssetValue = platformSpecificAssetsMapValue.getMapValue("ios");
2020 if (!iosAssetValue.isNullOrUndefined()) {
2021 iOSAsset = AssetResolver::resolve(_resourceManager, iosAssetValue);
2022 }
2023 auto androidAssetValue = platformSpecificAssetsMapValue.getMapValue("android");
2024 if (!androidAssetValue.isNullOrUndefined()) {
2025 androidAsset = AssetResolver::resolve(_resourceManager, androidAssetValue);
2026 }
2027
2028 if (defaultAsset == nullptr || ((iOSAsset == nullptr) && (androidAsset == nullptr))) {

Callers

nothing calls this directly

Calls 5

valueMethod · 0.65
BytesViewClass · 0.50
newArrayBufferMethod · 0.45
getContextMethod · 0.45
successMethod · 0.45

Tested by

no test coverage detected