Searched refs:dispatch_tables (Results 1 – 5 of 5) sorted by relevance
/external/v8/src/wasm/ |
D | wasm-objects.cc | 275 Handle<FixedArray> dispatch_tables = isolate->factory()->NewFixedArray(0); in DEFINE_OBJ_GETTER() local 276 table_obj->SetInternalField(kDispatchTables, *dispatch_tables); in DEFINE_OBJ_GETTER() 282 DEFINE_OBJ_GETTER(WasmTableObject, dispatch_tables, kDispatchTables, FixedArray) in DEFINE_OBJ_GETTER() argument 288 Handle<FixedArray> dispatch_tables( in DEFINE_OBJ_GETTER() local 290 DCHECK_EQ(0, dispatch_tables->length() % 4); in DEFINE_OBJ_GETTER() 292 if (instance.is_null()) return dispatch_tables; in DEFINE_OBJ_GETTER() 297 isolate->factory()->CopyFixedArrayAndGrow(dispatch_tables, 4); in DEFINE_OBJ_GETTER() 299 new_dispatch_tables->set(dispatch_tables->length() + 0, *instance); in DEFINE_OBJ_GETTER() 300 new_dispatch_tables->set(dispatch_tables->length() + 1, in DEFINE_OBJ_GETTER() 302 new_dispatch_tables->set(dispatch_tables->length() + 2, *function_table); in DEFINE_OBJ_GETTER() [all …]
|
D | wasm-module.cc | 904 Handle<FixedArray> dispatch_tables, in UpdateDispatchTablesInternal() argument 907 DCHECK_EQ(0, dispatch_tables->length() % 4); in UpdateDispatchTablesInternal() 908 for (int i = 0; i < dispatch_tables->length(); i += 4) { in UpdateDispatchTablesInternal() 909 int table_index = Smi::cast(dispatch_tables->get(i + 1))->value(); in UpdateDispatchTablesInternal() 911 FixedArray::cast(dispatch_tables->get(i + 2)), isolate); in UpdateDispatchTablesInternal() 913 FixedArray::cast(dispatch_tables->get(i + 3)), isolate); in UpdateDispatchTablesInternal() 918 WasmInstanceObject::cast(dispatch_tables->get(i)), isolate); in UpdateDispatchTablesInternal() 933 Handle<FixedArray> dispatch_tables, int index, in UpdateDispatchTables() argument 936 UpdateDispatchTablesInternal(isolate, dispatch_tables, index, nullptr, in UpdateDispatchTables() 940 isolate, dispatch_tables, index, in UpdateDispatchTables() [all …]
|
D | wasm-module.h | 410 void UpdateDispatchTables(Isolate* isolate, Handle<FixedArray> dispatch_tables, 413 void GrowDispatchTables(Isolate* isolate, Handle<FixedArray> dispatch_tables,
|
D | wasm-js.cc | 640 i::Handle<i::FixedArray> dispatch_tables(receiver->dispatch_tables(), in WebAssemblyTableSet() local 643 i::wasm::UpdateDispatchTables(i_isolate, dispatch_tables, i, in WebAssemblyTableSet() 646 i::wasm::UpdateDispatchTables(i_isolate, dispatch_tables, i, in WebAssemblyTableSet()
|
D | wasm-objects.h | 67 FixedArray* dispatch_tables();
|