MCPcopy Create free account
hub / github.com/nodejs/node / GCInstr

Function GCInstr

test/fixtures/wpt/wasm/jsapi/wasm-module-builder.js:456–459  ·  view source on GitHub ↗
(opcode)

Source from the content-addressed store, hash-verified

454
455// Use these for multi-byte instructions (opcode > 0x7F needing two LEB bytes):
456function GCInstr(opcode) {
457 if (opcode <= 0x7F) return [kGCPrefix, opcode];
458 return [kGCPrefix, 0x80 | (opcode & 0x7F), opcode >> 7];
459}
460
461// GC opcodes
462let kExprStructNew = 0x00;

Callers 4

polyfill.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected