Home
last modified time | relevance | path

Searched refs:array_object (Results 1 – 3 of 3) sorted by relevance

/third_party/node/deps/v8/src/wasm/
Dwasm-module.cc370 Handle<JSArray> array_object = factory->NewJSArray(PACKED_ELEMENTS, 0, 0); in GetImports() local
372 JSArray::SetContent(array_object, storage); in GetImports()
373 array_object->set_length(Smi::FromInt(num_imports)); in GetImports()
449 return array_object; in GetImports()
470 Handle<JSArray> array_object = factory->NewJSArray(PACKED_ELEMENTS, 0, 0); in GetExports() local
472 JSArray::SetContent(array_object, storage); in GetExports()
473 array_object->set_length(Smi::FromInt(num_exports)); in GetExports()
545 return array_object; in GetExports()
586 Handle<JSArray> array_object = factory->NewJSArray(PACKED_ELEMENTS, 0, 0); in GetCustomSections() local
588 JSArray::SetContent(array_object, storage); in GetCustomSections()
[all …]
/third_party/node/deps/v8/src/compiler/
Dwasm-compiler.h493 Node* ArrayGet(Node* array_object, const wasm::ArrayType* type, Node* index,
496 void ArraySet(Node* array_object, const wasm::ArrayType* type, Node* index,
499 Node* ArrayLen(Node* array_object, CheckForNull null_check,
Dwasm-compiler.cc6067 Node* WasmGraphBuilder::ArrayGet(Node* array_object, in ArrayGet() argument
6072 TrapIfTrue(wasm::kTrapNullDereference, IsNull(array_object), position); in ArrayGet()
6074 BoundsCheckArray(array_object, index, position); in ArrayGet()
6079 ? gasm_->LoadFromObject(machine_type, array_object, offset) in ArrayGet()
6080 : gasm_->LoadImmutableFromObject(machine_type, array_object, in ArrayGet()
6084 void WasmGraphBuilder::ArraySet(Node* array_object, const wasm::ArrayType* type, in ArraySet() argument
6089 TrapIfTrue(wasm::kTrapNullDereference, IsNull(array_object), position); in ArraySet()
6091 BoundsCheckArray(array_object, index, position); in ArraySet()
6094 array_object, offset, value); in ArraySet()
6097 Node* WasmGraphBuilder::ArrayLen(Node* array_object, CheckForNull null_check, in ArrayLen() argument
[all …]