Home
last modified time | relevance | path

Searched refs:asm_offsets_ (Results 1 – 3 of 3) sorted by relevance

/external/v8/src/wasm/
Dwasm-module-builder.cc56 asm_offsets_(builder->zone(), 8) {} in WasmFunctionBuilder()
146 DCHECK(asm_offsets_.size() == 0 || body_.size() > last_asm_byte_offset_); in AddAsmWasmOffset()
150 asm_offsets_.write_u32v(byte_offset - last_asm_byte_offset_); in AddAsmWasmOffset()
155 asm_offsets_.write_i32v(call_position_u32 - last_asm_source_position_); in AddAsmWasmOffset()
159 asm_offsets_.write_i32v(to_number_position_u32 - call_position_u32); in AddAsmWasmOffset()
169 DCHECK_EQ(0, asm_offsets_.size()); in SetAsmFunctionStartPosition()
203 if (asm_func_start_source_position_ == 0 && asm_offsets_.size() == 0) { in WriteAsmWasmOffsetTable()
210 buffer.write_size(asm_offsets_.size() + locals_enc_size + func_start_size); in WriteAsmWasmOffsetTable()
216 buffer.write(asm_offsets_.begin(), asm_offsets_.size()); in WriteAsmWasmOffsetTable()
Dwasm-module-builder.h215 ZoneBuffer asm_offsets_; variable
/external/v8/src/asmjs/
Dasm-js.cc198 asm_offsets_(nullptr), in AsmJsCompilationJob()
217 wasm::ZoneBuffer* asm_offsets_; member in v8::internal::AsmJsCompilationJob
254 asm_offsets_ = new (compile_zone) wasm::ZoneBuffer(compile_zone); in ExecuteJobImpl()
255 parser.module_builder()->WriteAsmJsOffsetTable(*asm_offsets_); in ExecuteJobImpl()
290 Vector<const byte>(asm_offsets_->begin(), asm_offsets_->size())) in FinalizeJobImpl()