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

Function emitBreakWhenTrue

test/fixtures/snapshot/typescript.js:103870–103872  ·  view source on GitHub ↗

* Emits a Break operation to the specified label when a condition evaluates to a truthy * value at runtime. * * @param label A label. * @param condition The condition. * @param location An optional source map location for the assignment.

(label, condition, location)

Source from the content-addressed store, hash-verified

103868 * @param location An optional source map location for the assignment.
103869 */
103870 function emitBreakWhenTrue(label, condition, location) {
103871 emitWorker(4 /* OpCode.BreakWhenTrue */, [label, condition], location);
103872 }
103873 /**
103874 * Emits a Break to the specified label when a condition evaluates to a falsey value at
103875 * runtime.

Callers 2

Calls 1

emitWorkerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…