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

Function assertTrue

deps/v8/test/mjsunit/wasm/deopt/deopt-multi-instance-inlined.js:46–51  ·  view source on GitHub ↗
(%IsTurboFanFunction(instance2.exports.main));
  }
  assertEquals(84, instance2.exports.main(instance.exports.callee_0));
  if (%IsWasmTieringPredictable())

Source from the content-addressed store, hash-verified

44 const instance2 = builder.instantiate({});
45 if (%IsWasmTieringPredictable()) {
46 assertTrue(%IsTurboFanFunction(instance2.exports.main));
47 }
48 assertEquals(84, instance2.exports.main(instance.exports.callee_0));
49 if (%IsWasmTieringPredictable()) {
50 assertFalse(%IsTurboFanFunction(instance2.exports.main));
51 }
52 // Run it one more time, so that the call count to inlinee is > 0 for
53 // instance2 as otherwise the feedback doesn't get updated.
54 assertEquals(84, instance2.exports.main(instance.exports.callee_0));

Callers

nothing calls this directly

Calls 3

assertFalseFunction · 0.70
assertEqualsFunction · 0.50
mainMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…