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

Method emit_u32

deps/v8/test/mjsunit/wasm/wasm-module-builder.js:1153–1159  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

1151 }
1152
1153 emit_u32(val) {
1154 this.ensure_space(4);
1155 this.buffer[this.length++] = val;
1156 this.buffer[this.length++] = val >> 8;
1157 this.buffer[this.length++] = val >> 16;
1158 this.buffer[this.length++] = val >> 24;
1159 }
1160
1161 emit_leb_u(val, max_len) {
1162 this.ensure_space(max_len);

Callers

nothing calls this directly

Calls 1

ensure_spaceMethod · 0.95

Tested by

no test coverage detected