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

Method startDebugger

valdi/src/valdi/hermes/HermesJavaScriptContext.cpp:1190–1202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1188 if (hermes::vm::vmisa<hermes::vm::Uint8Array>(hermesValue)) {
1189 return Uint8Array;
1190 } else if (hermes::vm::vmisa<hermes::vm::Float32Array>(hermesValue)) {
1191 return Float32Array;
1192 } else if (hermes::vm::vmisa<hermes::vm::Float64Array>(hermesValue)) {
1193 return Float64Array;
1194 } else if (hermes::vm::vmisa<hermes::vm::Uint8ClampedArray>(hermesValue)) {
1195 return Uint8ClampedArray;
1196 } else if (hermes::vm::vmisa<hermes::vm::Int8Array>(hermesValue)) {
1197 return Int8Array;
1198 } else if (hermes::vm::vmisa<hermes::vm::Int16Array>(hermesValue)) {
1199 return Int16Array;
1200 } else if (hermes::vm::vmisa<hermes::vm::Int32Array>(hermesValue)) {
1201 return Int32Array;
1202 } else if (hermes::vm::vmisa<hermes::vm::Uint16Array>(hermesValue)) {
1203 return Uint16Array;
1204 } else if (hermes::vm::vmisa<hermes::vm::Uint32Array>(hermesValue)) {
1205 return Uint32Array;

Callers

nothing calls this directly

Calls 4

makeRuntimeConfigFunction · 0.85
getRuntimeIdsMethod · 0.80
appendMethod · 0.65
getRegistryMethod · 0.45

Tested by

no test coverage detected