MCPcopy Index your code
hub / github.com/nodejs/node / jumpTableHoleAliasCheck

Function jumpTableHoleAliasCheck

deps/v8/test/mjsunit/switch.js:399–411  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

397assertEquals(5, duplicateCaseCheck(2), "duplicate-check.4");
398
399function jumpTableHoleAliasCheck(value){
400 let y = 4;
401 switch(value){
402 case 0: return 10;
403 case 1: return 20;
404 case 2: return 30;
405 case 3: return 40;
406 case 5: return 60;
407 case 6: return 70;
408 case y: return 50;
409 }
410 return 0;
411}
412
413assertEquals(50, jumpTableHoleAliasCheck(4), "jump-table-hole-alias.1");
414

Callers 1

switch.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…