/external/v8/src/wasm/ |
wasm-text.h | 31 uint32_t func_index, std::ostream &os,
|
wasm-debug.cc | 80 void Execute(uint32_t func_index, uint8_t* arg_buffer) { 81 DCHECK_GE(module()->functions.size(), func_index); local 82 FunctionSig* sig = module()->functions[func_index].sig; 112 thread->PushFrame(&module()->functions[func_index], wasm_args.start()); 247 return compiled_module->GetFunctionOffset(frame.function()->func_index) + 261 stack[i] = {frame.function()->func_index, frame.pc()}; 391 int func_index, int offset) { 394 RedirectToInterpreter(debug_info, func_index); 395 const WasmFunction* func = &handle->module()->functions[func_index]; 400 int func_index) { [all...] |
wasm-code-specialization.cc | 49 int func_index = Smi::cast(deopt_data->get(1))->value(); local 51 comp_mod->module()->functions[func_index].code_start_offset; 120 int func_index = module->num_imported_functions; local 124 func_index < num_wasm_functions; ++func_index) { 125 Code* wasm_function = Code::cast(code_table->get(func_index)); 132 Code* export_wrapper = Code::cast(code_table->get(func_index)); 155 func_index++; 157 DCHECK_EQ(code_table->length(), func_index);
|
wasm-objects.h | 155 int func_index, int arity, 335 uint32_t func_index); 342 uint32_t func_index); 348 Vector<const uint8_t> GetRawFunctionName(uint32_t func_index); 353 int GetFunctionOffset(uint32_t func_index); 368 uint32_t func_index, uint32_t byte_offset, 376 debug::WasmDisassembly DisassembleFunction(int func_index); 426 static void SetBreakpoint(Handle<WasmDebugInfo>, int func_index, int offset); 430 static void RedirectToInterpreter(Handle<WasmDebugInfo>, int func_index); 434 void RunInterpreter(int func_index, uint8_t* arg_buffer) [all...] |
wasm-objects.cc | 199 int func_index, int offset_in_func) { 205 WasmFunction& func = compiled_module->module()->functions[func_index]; 482 MaybeHandle<String> maybe_name, int func_index, int arity, 487 int length = SNPrintF(buffer, "%d", func_index); 505 function->SetInternalField(kIndex, Smi::FromInt(func_index)); 731 int func_index = compiled_module->GetContainingFunction(position); local 732 DCHECK_LE(0, func_index); 733 WasmFunction& func = compiled_module->module()->functions[func_index]; 735 WasmDebugInfo::SetBreakpoint(debug_info, func_index, offset_in_func); 857 DCHECK_GT(module()->functions.size(), func_index); local 900 int func_index = GetContainingFunction(position); local 1119 int func_index = compiled_module->GetContainingFunction(*position); local [all...] |
wasm-text.cc | 36 const ModuleWireBytes &wire_bytes, uint32_t func_index, 40 DCHECK_GT(module->functions.size(), func_index); 41 const WasmFunction *fun = &module->functions[func_index];
|
wasm-module.cc | 529 int func_index = 0; local 537 static_cast<int>(module_->functions.size() + func_index); 540 func_index++; 730 Handle<WasmCompiledModule> compiled_module, int func_index) { 732 if (func_index < 0 || 733 static_cast<size_t>(func_index) > module->functions.size()) { 736 WasmFunction& func = module->functions[func_index]; 812 os << "#" << name.function_->func_index; 854 int func_index = exported->function_index(); local 1804 int func_index = local 2004 uint32_t func_index = table_init.entries[i]; local [all...] |
module-decoder.cc | 331 import->index, // func_index 396 uint32_t func_index = static_cast<uint32_t>(module->functions.size()); local 398 func_index, // func_index 660 uint32_t func_index = i; local 661 if (inner.ok() && func_index < module->functions.size()) { 662 module->functions[func_index].name_offset = name_offset; 663 module->functions[func_index].name_length = function_name_length; [all...] |
wasm-module.h | 75 uint32_t func_index; // index into the function table. member in struct:v8::internal::wasm::WasmFunction 384 int func_index);
|
wasm-module-builder.h | 147 uint32_t func_index() { return func_index_; } function in class:v8::internal::wasm::WasmFunctionBuilder
|
wasm-interpreter.cc | 859 if (function->func_index < interpreter_code_.size()) { 860 InterpreterCode* code = &interpreter_code_[function->func_index]; 899 DCHECK_EQ(interpreter_code_.size(), function->func_index); 947 TRACE(" => PushFrame(#%u @%zu)\n", code->function->func_index, [all...] |
wasm-module-builder.cc | 311 start_function_index_ = function->func_index();
|
/external/v8/src/inspector/ |
wasm-translation.cc | 105 int func_index = GetFunctionIndexFromFakeScriptId(loc->script_id); variable 106 const OffsetTable* reverse_table = GetReverseTable(func_index); 141 script_.Get(isolate)->GetFunctionRange(func_index); 147 loc->line = func_index; 152 String16 GetFakeScriptUrl(v8::Isolate* isolate, int func_index) { 161 String16 thisCategory = String16::fromInteger((func_index / 100) * 100); 168 builder.appendNumber(func_index); 172 String16 GetFakeScriptId(const String16 script_id, int func_index) { 173 return String16::concat(script_id, '-', String16::fromInteger(func_index)); 207 int func_index = fake_script_id.substring(last_dash_pos + 1).toInteger(&ok) local 213 int func_index = loc->line; local [all...] |
/external/v8/src/runtime/ |
runtime-wasm.cc | 175 CONVERT_NUMBER_CHECKED(int32_t, func_index, Int32, args[1]); 192 instance->debug_info()->RunInterpreter(func_index, arg_buffer);
|
/external/v8/src/compiler/ |
wasm-compiler.h | 64 function->func_index); 77 // Function name is tagged with uint32 func_index - wasm#<func_index> 109 Handle<Code> CompileWasmInterpreterEntry(Isolate* isolate, uint32_t func_index, 193 void BuildWasmInterpreterEntry(uint32_t func_index, wasm::FunctionSig* sig,
|
wasm-compiler.cc | [all...] |
/external/swiftshader/third_party/subzero/src/ |
WasmTranslator.cpp | 132 std::string getFunctionName(const WasmModule *Module, uint32_t func_index) { 135 if (Export.func_index == func_index) { 140 return fnNameFromId(func_index); [all...] |
/external/v8/src/asmjs/ |
asm-wasm-builder.cc | 824 LookupOrInsertFunction(func->var())->func_index()); [all...] |
/external/v8/src/ |
isolate.cc | 1574 int func_index = elements->WasmFunctionIndex(i)->value(); local [all...] |