Home
last modified time | relevance | path

Searched refs:WasmFunctionBuilder (Results 1 – 5 of 5) sorted by relevance

/external/v8/src/wasm/
Dencoder.cc60 struct WasmFunctionBuilder::Type {
66 WasmFunctionBuilder::WasmFunctionBuilder(Zone* zone) in WasmFunctionBuilder() function in v8::internal::wasm::WasmFunctionBuilder
76 uint16_t WasmFunctionBuilder::AddParam(LocalType type) { in AddParam()
81 uint16_t WasmFunctionBuilder::AddLocal(LocalType type) { in AddLocal()
86 uint16_t WasmFunctionBuilder::AddVar(LocalType type, bool param) { in AddVar()
92 void WasmFunctionBuilder::ReturnType(LocalType type) { return_type_ = type; } in ReturnType()
95 void WasmFunctionBuilder::EmitCode(const byte* code, uint32_t code_size) { in EmitCode()
100 void WasmFunctionBuilder::EmitCode(const byte* code, uint32_t code_size, in EmitCode()
113 void WasmFunctionBuilder::Emit(WasmOpcode opcode) { in Emit()
118 void WasmFunctionBuilder::EmitWithU8(WasmOpcode opcode, const byte immediate) { in EmitWithU8()
[all …]
Dencoder.h33 friend class WasmFunctionBuilder; variable
53 class WasmFunctionBuilder : public ZoneObject {
72 explicit WasmFunctionBuilder(Zone* zone);
131 WasmFunctionBuilder* FunctionAt(size_t index);
145 ZoneVector<WasmFunctionBuilder*> functions_;
Dasm-wasm-builder.cc1016 WasmFunctionBuilder* current_function_builder_;
/external/v8/test/cctest/wasm/
Dtest-run-wasm-module.cc64 WasmFunctionBuilder* f = builder->FunctionAt(f_index); in TEST()
78 WasmFunctionBuilder* f = builder->FunctionAt(f1_index); in TEST()
101 WasmFunctionBuilder* f = builder->FunctionAt(f_index); in TEST()
129 WasmFunctionBuilder* f = builder->FunctionAt(f_index); in TEST()
155 WasmFunctionBuilder* f = builder->FunctionAt(f_index); in TEST()
183 WasmFunctionBuilder* f = builder->FunctionAt(f1_index); in TEST()
/external/v8/test/unittests/wasm/
Dencoder-unittest.cc18 void AddLocal(WasmFunctionBuilder* f, LocalType type) { in AddLocal()
58 WasmFunctionBuilder* function = builder->FunctionAt(f_index); in TEST_F()
99 WasmFunctionBuilder* function = builder->FunctionAt(f_index); in TEST_F()