Home
last modified time | relevance | path

Searched refs:WasmTableObject (Results 1 – 17 of 17) sorted by relevance

/third_party/node/deps/v8/src/wasm/
Dwasm-objects.h167 class WasmTableObject
168 : public TorqueGeneratedWasmTableObject<WasmTableObject, JSObject> {
173 Handle<WasmTableObject> table,
176 V8_EXPORT_PRIVATE static Handle<WasmTableObject> New(
183 Isolate* isolate, Handle<WasmTableObject> table,
186 static bool IsInBounds(Isolate* isolate, Handle<WasmTableObject> table,
189 static bool IsValidElement(Isolate* isolate, Handle<WasmTableObject> table,
193 Handle<WasmTableObject> table,
197 Handle<WasmTableObject> table,
201 Handle<WasmTableObject> table,
[all …]
Dwasm-objects.cc192 Handle<WasmTableObject> WasmTableObject::New( in New()
217 auto table_obj = Handle<WasmTableObject>::cast( in New()
231 return Handle<WasmTableObject>::cast(table_obj); in New()
234 void WasmTableObject::AddDispatchTable(Isolate* isolate, in AddDispatchTable()
235 Handle<WasmTableObject> table_obj, in AddDispatchTable()
258 int WasmTableObject::Grow(Isolate* isolate, Handle<WasmTableObject> table, in Grow()
312 WasmTableObject::Set(isolate, table, entry, init_value); in Grow()
317 bool WasmTableObject::IsInBounds(Isolate* isolate, in IsInBounds()
318 Handle<WasmTableObject> table, in IsInBounds()
323 bool WasmTableObject::IsValidElement(Isolate* isolate, in IsValidElement()
[all …]
Dmodule-instantiate.cc363 Handle<WasmTableObject> table_object);
624 Handle<WasmTableObject> table_obj = WasmTableObject::New( in Build()
724 WasmTableObject::cast(instance->tables().get(table_index)), isolate_); in Build()
725 WasmTableObject::AddDispatchTable(isolate_, table_object, instance, in Build()
1220 Handle<WasmTableObject> table_object) { in InitializeImportedIndirectFunctionTable()
1233 WasmTableObject::GetFunctionTableEntry( in InitializeImportedIndirectFunctionTable()
1279 auto table_object = Handle<WasmTableObject>::cast(value); in ProcessImportedTable()
1937 Handle<WasmTableObject> table_object, in SetFunctionTablePlaceholder()
1948 WasmTableObject::SetFunctionTablePlaceholder( in SetFunctionTablePlaceholder()
1954 WasmTableObject::UpdateDispatchTables(isolate, *table_object, entry_index, in SetFunctionTablePlaceholder()
[all …]
Dwasm-js.cc1190 i::Handle<i::WasmTableObject> table_obj = in WebAssemblyTable()
1191 i::WasmTableObject::New(i_isolate, i::Handle<i::WasmInstanceObject>(), in WebAssemblyTable()
1210 if (!i::WasmTableObject::IsValidElement(i_isolate, table_obj, element)) { in WebAssemblyTable()
1222 i::WasmTableObject::Set(i_isolate, table_obj, index, element); in WebAssemblyTable()
1980 EXTRACT_THIS(receiver, WasmTableObject); in WebAssemblyTableGetLength()
1992 EXTRACT_THIS(receiver, WasmTableObject); in WebAssemblyTableGrow()
2003 if (!i::WasmTableObject::IsValidElement(i_isolate, receiver, init_value)) { in WebAssemblyTableGrow()
2020 i::WasmTableObject::Grow(i_isolate, receiver, grow_by, init_value); in WebAssemblyTableGrow()
2037 EXTRACT_THIS(receiver, WasmTableObject); in WebAssemblyTableGet()
2043 if (!i::WasmTableObject::IsInBounds(i_isolate, receiver, index)) { in WebAssemblyTableGet()
[all …]
Dwasm-objects.tq123 extern class WasmTableObject extends JSObject {
124 // The instance in which this WasmTableObject is defined.
Dc-api.cc1907 using type = RefImpl<Table, i::WasmTableObject>;
1947 i::Handle<i::WasmTableObject> table_obj = i::WasmTableObject::New( in make()
1966 i::Handle<i::WasmTableObject> table = impl(this)->v8_object(); in type()
1985 i::Handle<i::WasmTableObject> table = impl(this)->v8_object(); in get()
1990 i::WasmTableObject::Get(isolate, table, static_cast<uint32_t>(index)); in get()
2002 i::Handle<i::WasmTableObject> table = impl(this)->v8_object(); in set()
2012 i::WasmTableObject::Set(isolate, table, static_cast<uint32_t>(index), obj); in set()
2022 i::Handle<i::WasmTableObject> table = impl(this)->v8_object(); in grow()
2031 int result = i::WasmTableObject::Grow(isolate, table, in grow()
2223 store, i::Handle<i::WasmTableObject>::cast(obj)); in exports()
Dwasm-objects-inl.h48 TQ_OBJECT_CONSTRUCTORS_IMPL(WasmTableObject) in TQ_OBJECT_CONSTRUCTORS_IMPL()
325 wasm::ValueType WasmTableObject::type() { in TQ_OBJECT_CONSTRUCTORS_IMPL()
/third_party/node/deps/v8/src/runtime/
Druntime-wasm.cc419 WasmTableObject::cast(instance->tables().get(table_index)), isolate); in RUNTIME_FUNCTION()
427 if (!WasmTableObject::IsInBounds(isolate, table, entry_index)) { in RUNTIME_FUNCTION()
431 return *WasmTableObject::Get(isolate, table, entry_index); in RUNTIME_FUNCTION()
446 WasmTableObject::cast(instance->tables().get(table_index)), isolate); in RUNTIME_FUNCTION()
454 if (!WasmTableObject::IsInBounds(isolate, table, entry_index)) { in RUNTIME_FUNCTION()
457 WasmTableObject::Set(isolate, table, entry_index, element); in RUNTIME_FUNCTION()
516 Handle<WasmTableObject> table( in RUNTIME_FUNCTION()
517 WasmTableObject::cast(instance->tables().get(table_index)), isolate); in RUNTIME_FUNCTION()
518 int result = WasmTableObject::Grow(isolate, table, delta, value); in RUNTIME_FUNCTION()
535 Handle<WasmTableObject> table( in RUNTIME_FUNCTION()
[all …]
Druntime-debug.cc374 isolate, result, Handle<WasmTableObject>::cast(object)); in GetInternalProperties()
/third_party/node/deps/v8/src/debug/
Ddebug-wasm-objects.h35 class WasmTableObject; variable
86 Isolate* isolate, Handle<ArrayList> result, Handle<WasmTableObject> table);
Ddebug-wasm-objects.cc1088 Isolate* isolate, Handle<ArrayList> result, Handle<WasmTableObject> table) { in AddWasmTableObjectInternalProperties()
1092 Handle<Object> entry = WasmTableObject::Get(isolate, table, i); in AddWasmTableObjectInternalProperties()
/third_party/node/deps/v8/src/builtins/
Dwasm.tq176 const table: WasmTableObject = %RawDownCast<WasmTableObject>(
209 const table: WasmTableObject = %RawDownCast<WasmTableObject>(
/third_party/node/deps/v8/src/objects/
Dobject-list-macros.h261 IF_WASM(V, WasmTableObject) \
Djs-objects.cc2509 return WasmTableObject::kHeaderSize; in GetHeaderSize()
/third_party/node/deps/v8/src/compiler/
Dcode-assembler.h138 class WasmTableObject; variable
Dwasm-compiler.cc5574 int length_field_size = WasmTableObject::kCurrentLengthOffsetEnd - in TableSize()
5575 WasmTableObject::kCurrentLengthOffset + 1; in TableSize()
5578 wasm::ObjectAccess::ToTagged(WasmTableObject::kCurrentLengthOffset)); in TableSize()
/third_party/node/deps/v8/src/wasm/baseline/
Dliftoff-compiler.cc5152 int length_field_size = WasmTableObject::kCurrentLengthOffsetEnd - in TableSize()
5153 WasmTableObject::kCurrentLengthOffset + 1; in TableSize()
5157 wasm::ObjectAccess::ToTagged(WasmTableObject::kCurrentLengthOffset), in TableSize()