MCPcopy Create free account
hub / github.com/nodejs/node / checkTopFunctionsOnCallsites

Function checkTopFunctionsOnCallsites

deps/v8/test/mjsunit/wasm/asm-wasm-stack.js:47–53  ·  view source on GitHub ↗
(e, expected)

Source from the content-addressed store, hash-verified

45}
46
47function checkTopFunctionsOnCallsites(e, expected) {
48 printCallsites(e.stack);
49 assertTrue(
50 e.stack.length >= expected.length, 'expected at least ' +
51 expected.length + ' callsites, got ' + e.stack.length);
52 checkCallsiteArray(e.stack.slice(0, expected.length), expected);
53}
54
55function throwException() {
56 throw new Error('exception from JS');

Callers 1

asm-wasm-stack.jsFile · 0.85

Calls 4

printCallsitesFunction · 0.85
checkCallsiteArrayFunction · 0.85
sliceMethod · 0.65
assertTrueFunction · 0.50

Tested by

no test coverage detected