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

Function test

deps/v8/test/mjsunit/typeof.js:52–60  ·  view source on GitHub ↗
(v1, t1, v2, t2)

Source from the content-addressed store, hash-verified

50}
51%PrepareFunctionForOptimization(test2);
52function test(v1, t1, v2, t2) {
53 %ClearFunctionFeedback(test2);
54 test2(v1, t1);
55 test2(v1, t1);
56 test2(v1, t1);
57 %OptimizeFunctionOnNextCall(test2);
58 test2(v1, t1);
59 test2(v2, t2);
60}
61test(function(){}, 'function', {}, 'object');
62test(1, 'number', {}, 'object');
63test(1.2, 'number', {}, 'object');

Callers 1

typeof.jsFile · 0.70

Calls 2

test2Function · 0.70
assertEqualsFunction · 0.50

Tested by

no test coverage detected