Lines Matching refs:code
2 // Use of this source code is governed by a BSD-style license that can be
24 // Emit a section code and the size as a padded varint that can be patched
26 size_t EmitSection(SectionCode code, ZoneBuffer* buffer) {
27 // Emit the section code.
28 buffer->write_u8(code);
91 void WasmFunctionBuilder::EmitCode(const byte* code, uint32_t code_size) {
92 body_.write(code, code_size);
134 buffer->write_i32v(type.heap_type().code());
482 buffer->write_i32v(HeapType(init.immediate().heap_type).code());
511 buffer->write_i32v(type.heap_type().code());
834 // Emit the section code.
851 // == emit code ==============================================================
879 // Emit the section code.