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

Function isOptimized

deps/v8/test/intl/string-localecompare.js:52–54  ·  view source on GitHub ↗
(fun)

Source from the content-addressed store, hash-verified

50
51// TODO(tebbi): Make isOptimized() from mjsunit.js available in intl tests.
52function isOptimized(fun) {
53 return (%GetOptimizationStatus(fun) & (1 << 3)) != 0;
54}
55
56assertFalse(isOptimized(check));
57%PrepareFunctionForOptimization(check);

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…