Searched refs:WasmFunctionBuilder (Results 1 – 4 of 4) sorted by relevance
45 WasmFunctionBuilder::WasmFunctionBuilder(WasmModuleBuilder* builder) in WasmFunctionBuilder() function in v8::internal::wasm::WasmFunctionBuilder58 void WasmFunctionBuilder::EmitI32V(int32_t val) { body_.write_i32v(val); } in EmitI32V()60 void WasmFunctionBuilder::EmitU32V(uint32_t val) { body_.write_u32v(val); } in EmitU32V()62 void WasmFunctionBuilder::SetSignature(FunctionSig* sig) { in SetSignature()68 uint32_t WasmFunctionBuilder::AddLocal(ValueType type) { in AddLocal()73 void WasmFunctionBuilder::EmitGetLocal(uint32_t local_index) { in EmitGetLocal()77 void WasmFunctionBuilder::EmitSetLocal(uint32_t local_index) { in EmitSetLocal()81 void WasmFunctionBuilder::EmitTeeLocal(uint32_t local_index) { in EmitTeeLocal()85 void WasmFunctionBuilder::EmitCode(const byte* code, uint32_t code_size) { in EmitCode()89 void WasmFunctionBuilder::Emit(WasmOpcode opcode) { body_.write_u8(opcode); } in Emit()[all …]
154 class V8_EXPORT_PRIVATE WasmFunctionBuilder : public ZoneObject {194 explicit WasmFunctionBuilder(WasmModuleBuilder* builder);227 WasmFunctionBuilder* AddFunction(FunctionSig* sig = nullptr);235 void MarkStartFunction(WasmFunctionBuilder* builder);236 void AddExport(Vector<const char> name, WasmFunctionBuilder* builder);277 friend class WasmFunctionBuilder; variable283 ZoneVector<WasmFunctionBuilder*> functions_;295 inline FunctionSig* WasmFunctionBuilder::signature() { in signature()
93 WasmFunctionBuilder* function_builder = nullptr;156 WasmFunctionBuilder* current_function_builder_;
373 WasmFunctionBuilder* start = module_builder_->AddFunction(); in ValidateModule()