• Home
  • Raw
  • Download

Lines Matching refs:func_index

185                                            uint32_t func_index,  in GetOrCompileJSToWasmWrapper()  argument
188 const WasmFunction* func = &module->functions[func_index]; in GetOrCompileJSToWasmWrapper()
189 bool is_import = func_index < module->num_imported_functions; in GetOrCompileJSToWasmWrapper()
344 int func_index) { in LazyCompileFunction() argument
346 DCHECK(!native_module->has_code(static_cast<uint32_t>(func_index))); in LazyCompileFunction()
357 module_env->module->LookupFunctionName(wire_bytes, func_index); in LazyCompileFunction()
362 func_name.start(), func_index); in LazyCompileFunction()
366 const WasmFunction* func = &module_env->module->functions[func_index]; in LazyCompileFunction()
373 body, func_name, func_index, isolate->counters()); in LazyCompileFunction()
402 uint32_t func_index) { in CompileLazy() argument
410 WasmCode* result = LazyCompileFunction(isolate, native_module, func_index); in CompileLazy()
412 DCHECK_EQ(func_index, result->index()); in CompileLazy()
502 name, function->func_index, in CreateUnit()
1194 for (int func_index = num_imported_functions, in Build() local
1196 func_index < num_wasm_functions; ++func_index) { in Build()
1197 func_indexes.push_back(func_index); in Build()
1490 uint32_t func_index = import.index; in ProcessImports() local
1491 DCHECK_EQ(num_imported_functions, func_index); in ProcessImports()
1492 FunctionSig* expected_sig = module_->functions[func_index].sig; in ProcessImports()
1511 ImportedFunctionEntry entry(instance, func_index); in ProcessImports()
1518 isolate_, js_receiver, expected_sig, func_index, in ProcessImports()
1524 wrapper_code, WasmCode::kWasmToJsWrapper, func_index); in ProcessImports()
1525 ImportedFunctionEntry entry(instance, func_index); in ProcessImports()
1916 function.func_index); in ProcessExports()
1922 isolate_, instance, func_name, function.func_index, in ProcessExports()
2062 uint32_t func_index = table_init.entries[i]; in LoadTableSegments() local
2063 const WasmFunction* function = &module_->functions[func_index]; in LoadTableSegments()
2070 const bool is_import = func_index < module_->num_imported_functions; in LoadTableSegments()
2074 ImportedFunctionEntry entry(instance, func_index); in LoadTableSegments()
2078 call_target = native_module->GetCallTargetForFunction(func_index); in LoadTableSegments()
2085 if (js_wrappers_[func_index].is_null()) { in LoadTableSegments()
2093 isolate_, native_module, func_index, use_trap_handler()); in LoadTableSegments()
2098 native_module->wire_bytes(), func_index); in LoadTableSegments()
2104 isolate_, instance, func_name, func_index, in LoadTableSegments()
2106 js_wrappers_[func_index] = js_function; in LoadTableSegments()
2108 table_instance.js_wrappers->set(table_index, *js_wrappers_[func_index]); in LoadTableSegments()