Home
last modified time | relevance | path

Searched refs:function_tables (Results 1 – 7 of 7) sorted by relevance

/external/v8/src/wasm/
Dwasm-module.h167 std::vector<WasmIndirectFunctionTable> function_tables; // function tables. member
194 std::vector<Handle<FixedArray>> function_tables; // indirect function tables. member
206 function_tables(m->function_tables.size()), in WasmInstance()
207 signature_tables(m->function_tables.size()), in WasmInstance()
289 return module && index < module->function_tables.size(); in IsValidTable()
305 return &module->function_tables[index]; in GetTable()
Dwasm-module.cc416 static_cast<int>(module_->function_tables.size()); in CompileToModuleObject()
417 Handle<FixedArray> function_tables = in CompileToModuleObject() local
422 temp_instance.function_tables[i] = factory->NewFixedArray(1, TENURED); in CompileToModuleObject()
424 function_tables->set(i, *temp_instance.function_tables[i]); in CompileToModuleObject()
515 compiled_module->set_function_tables(function_tables); in CompileToModuleObject()
517 compiled_module->set_empty_function_tables(function_tables); in CompileToModuleObject()
578 FixedArray* function_tables = compiled_module->ptr_to_function_tables(); in ResetCompiledModule() local
581 DCHECK_EQ(function_tables->length(), empty_function_tables->length()); in ResetCompiledModule()
582 for (int i = 0, e = function_tables->length(); i < e; ++i) { in ResetCompiledModule()
584 handle(function_tables->get(i), isolate), in ResetCompiledModule()
[all …]
Dmodule-decoder.cc347 static_cast<uint32_t>(module->function_tables.size()); in DecodeModule()
348 module->function_tables.push_back({0, 0, false, in DecodeModule()
352 WasmIndirectFunctionTable* table = &module->function_tables.back(); in DecodeModule()
418 module->function_tables.push_back({0, 0, false, std::vector<int32_t>(), in DecodeModule()
420 WasmIndirectFunctionTable* table = &module->function_tables.back(); in DecodeModule()
576 if (table_index >= module->function_tables.size()) { in DecodeModule()
579 table = &module->function_tables[table_index]; in DecodeModule()
733 if (module->function_tables.size() > 0) { in AddTable()
913 return consume_index("table index", module->function_tables, table); in consume_table_index()
Dwasm-interpreter.cc873 if (table_index >= module_->function_tables.size()) return nullptr; in GetIndirectCode()
875 &module_->function_tables[table_index]; in GetIndirectCode()
1412 DCHECK_LE(module()->function_tables.size(), 1u); in Execute()
1420 &module()->function_tables[0]; in Execute()
Dwasm-objects.h262 MACRO(OBJECT, FixedArray, function_tables) \
Dfunction-body-decoder.cc328 if (module_ == nullptr || module_->function_tables.empty()) { in Validate()
/external/v8/src/compiler/
Dwasm-compiler.cc2327 module_->module->function_tables[0].map); in CallIndirect()
3096 size_t tables_size = module_->instance->function_tables.size(); in EnsureFunctionTableNodes()
3099 auto function_handle = module_->instance->function_tables[i]; in EnsureFunctionTableNodes()
3104 uint32_t table_size = module_->module->function_tables[i].min_size; in EnsureFunctionTableNodes()