Home
last modified time | relevance | path

Searched refs:WasmInstanceObject (Results 1 – 25 of 58) sorted by relevance

123

/external/v8/src/wasm/
Dwasm-objects-inl.h37 OBJECT_CONSTRUCTORS_IMPL(WasmInstanceObject, JSObject) in OBJECT_CONSTRUCTORS_IMPL()
49 CAST_ACCESSOR(WasmInstanceObject) in OBJECT_CONSTRUCTORS_IMPL()
210 PRIMITIVE_ACCESSORS(WasmInstanceObject, memory_start, byte*, kMemoryStartOffset) in PRIMITIVE_ACCESSORS() argument
211 PRIMITIVE_ACCESSORS(WasmInstanceObject, memory_size, size_t, kMemorySizeOffset) in PRIMITIVE_ACCESSORS()
212 PRIMITIVE_ACCESSORS(WasmInstanceObject, memory_mask, size_t, kMemoryMaskOffset) in PRIMITIVE_ACCESSORS()
213 PRIMITIVE_ACCESSORS(WasmInstanceObject, isolate_root, Address, in PRIMITIVE_ACCESSORS()
215 PRIMITIVE_ACCESSORS(WasmInstanceObject, stack_limit_address, Address, in PRIMITIVE_ACCESSORS()
217 PRIMITIVE_ACCESSORS(WasmInstanceObject, real_stack_limit_address, Address, in PRIMITIVE_ACCESSORS()
219 PRIMITIVE_ACCESSORS(WasmInstanceObject, imported_function_targets, Address*, in PRIMITIVE_ACCESSORS()
221 PRIMITIVE_ACCESSORS(WasmInstanceObject, globals_start, byte*, in PRIMITIVE_ACCESSORS()
[all …]
Dwasm-objects.h43 class WasmInstanceObject; variable
67 inline IndirectFunctionTableEntry(Handle<WasmInstanceObject>, int table_index,
74 void Set(int sig_id, Handle<WasmInstanceObject> target_instance,
83 Handle<WasmInstanceObject> const instance_;
100 inline ImportedFunctionEntry(Handle<WasmInstanceObject>, int index);
107 void SetWasmToWasm(WasmInstanceObject target_instance, Address call_target);
109 WasmInstanceObject instance();
116 Handle<WasmInstanceObject> const instance_;
222 Handle<WasmInstanceObject> instance,
228 Handle<WasmInstanceObject> instance,
[all …]
Dwasm-objects.cc61 WasmInstanceNativeAllocations(Handle<WasmInstanceObject> instance, in WasmInstanceNativeAllocations()
84 Handle<WasmInstanceObject> instance, in resize_indirect_function_table()
141 WasmInstanceObject instance) { in GetNativeAllocations()
261 Isolate* isolate, Handle<WasmInstanceObject> instance, wasm::ValueType type, in New()
305 Handle<WasmInstanceObject> instance, in AddDispatchTable()
371 Handle<WasmInstanceObject> instance( in Grow()
372 WasmInstanceObject::cast(dispatch_tables->get(i)), isolate); in Grow()
374 DCHECK_EQ(old_size, WasmInstanceObject::IndirectFunctionTableSize( in Grow()
376 WasmInstanceObject::EnsureIndirectFunctionTableWithMinimumSize( in Grow()
398 ? WasmInstanceObject::cast(table->instance()).module() in IsValidElement()
[all …]
Dmodule-instantiate.cc40 uint32_t EvalUint32InitExpr(Handle<WasmInstanceObject> instance, in EvalUint32InitExpr()
179 Handle<WasmInstanceObject> instance, uint32_t type, in AllocateSubRtt()
221 MaybeHandle<WasmInstanceObject> Build();
281 void LoadDataSegments(Handle<WasmInstanceObject> instance);
299 bool ProcessImportedFunction(Handle<WasmInstanceObject> instance,
307 Handle<WasmInstanceObject> instance, int table_index, int import_index,
311 bool ProcessImportedTable(Handle<WasmInstanceObject> instance,
317 bool ProcessImportedMemory(Handle<WasmInstanceObject> instance,
322 bool ProcessImportedGlobal(Handle<WasmInstanceObject> instance,
328 bool ProcessImportedWasmGlobalObject(Handle<WasmInstanceObject> instance,
[all …]
Dmodule-instantiate.h20 class WasmInstanceObject; variable
31 MaybeHandle<WasmInstanceObject> InstantiateToInstanceObject(
36 bool LoadElemSegment(Isolate* isolate, Handle<WasmInstanceObject> instance,
Dwasm-debug-evaluate.cc149 Handle<WasmInstanceObject> instance( in GetGlobal()
152 WasmInstanceObject::GetGlobalValue(instance, global_variable); in GetGlobal()
215 void SetInstances(Handle<WasmInstanceObject> evaluator, in SetInstances()
216 Handle<WasmInstanceObject> debuggee) { in SetInstances()
287 Handle<WasmInstanceObject> evaluator_;
288 Handle<WasmInstanceObject> debuggee_;
358 Vector<const byte> snippet, Handle<WasmInstanceObject> debuggee_instance, in DebugEvaluateImpl()
385 Handle<WasmInstanceObject> evaluator_instance; in DebugEvaluateImpl()
435 Handle<WasmInstanceObject> debuggee_instance, in DebugEvaluate()
Dwasm-objects.tq13 extern class WasmInstanceObject extends JSObject;
17 instance: WasmInstanceObject;
71 instance: WasmInstanceObject|Undefined;
86 instance: WasmInstanceObject|Undefined;
Dwasm-external-refs.cc455 inline byte* EffectiveAddress(WasmInstanceObject instance, uint32_t index) { in EffectiveAddress()
464 inline byte* EffectiveAddress(WasmInstanceObject instance, uint32_t index) { in EffectiveAddress()
491 WasmInstanceObject instance = WasmInstanceObject::cast(raw_instance); in memory_init_wrapper()
517 WasmInstanceObject instance = WasmInstanceObject::cast(raw_instance); in memory_copy_wrapper()
541 WasmInstanceObject instance = WasmInstanceObject::cast(raw_instance); in memory_fill_wrapper()
Dwasm-js.cc303 i::Handle<i::WasmInstanceObject> instance) override { in OnInstantiationSucceeded()
349 i::Handle<i::WasmInstanceObject> instance) override { in OnInstantiationSucceeded()
1118 i::WasmTableObject::New(i_isolate, i::Handle<i::WasmInstanceObject>(), in WebAssemblyTable()
1288 i::WasmGlobalObject::New(i_isolate, i::Handle<i::WasmInstanceObject>(), in WebAssemblyGlobal()
1595 EXTRACT_THIS(receiver, WasmInstanceObject); in WebAssemblyInstanceGetExports()
2157 i::WASM_INSTANCE_OBJECT_TYPE, WasmInstanceObject::kHeaderSize); in Install()
2355 std::vector<Handle<String>> GetLocalNames(Handle<WasmInstanceObject> instance, in GetLocalNames()
2386 Handle<WasmInstanceObject> instance) { in GetGlobalNames()
2392 isolate, WasmInstanceObject::GetGlobalNameOrNull(isolate, instance, i), in GetGlobalNames()
2400 Handle<WasmInstanceObject> instance) { in GetFunctionNames()
[all …]
Dwasm-engine.h28 class WasmInstanceObject; variable
54 virtual void OnInstantiationSucceeded(Handle<WasmInstanceObject> result) = 0;
169 MaybeHandle<WasmInstanceObject> SyncInstantiate(
Dwasm-debug-evaluate.h18 Handle<WasmInstanceObject> debuggee_instance, CommonFrame* frame);
Dwasm-debug.h27 class WasmInstanceObject; variable
141 Handle<JSObject> GetModuleScopeObject(Handle<WasmInstanceObject>);
/external/v8/src/builtins/
Dbuiltins-wasm-gen.cc17 TNode<WasmInstanceObject> WasmBuiltinsAssembler::LoadInstanceFromFrame() { in LoadInstanceFromFrame()
22 TNode<WasmInstanceObject> instance) { in LoadContextFromInstance()
24 IntPtrConstant(WasmInstanceObject::kNativeContextOffset - in LoadContextFromInstance()
29 TNode<WasmInstanceObject> instance) { in LoadTablesFromInstance()
31 WasmInstanceObject::kTablesOffset); in LoadTablesFromInstance()
35 TNode<WasmInstanceObject> instance) { in LoadExternalFunctionsFromInstance()
37 instance, WasmInstanceObject::kWasmExternalFunctionsOffset); in LoadExternalFunctionsFromInstance()
41 TNode<WasmInstanceObject> instance) { in LoadManagedObjectMapsFromInstance()
43 instance, WasmInstanceObject::kManagedObjectMapsOffset); in LoadManagedObjectMapsFromInstance()
72 TNode<WasmInstanceObject> instance = LoadInstanceFromFrame(); in TF_BUILTIN()
[all …]
Dbuiltins-wasm-gen.h18 TNode<WasmInstanceObject> LoadInstanceFromFrame();
21 TNode<WasmInstanceObject> instance);
23 TNode<FixedArray> LoadTablesFromInstance(TNode<WasmInstanceObject> instance);
26 TNode<WasmInstanceObject> instance);
29 TNode<WasmInstanceObject> instance);
Dwasm.tq8 extern runtime WasmMemoryGrow(Context, WasmInstanceObject, Smi): Smi;
9 extern runtime WasmRefFunc(Context, WasmInstanceObject, Smi): JSAny;
11 Context, WasmInstanceObject, Object, Object, Smi, Smi, Smi): JSAny;
13 Context, WasmInstanceObject, Object, Object, Smi, Smi, Smi): JSAny;
15 Context, WasmInstanceObject, Smi, Smi): JSAny;
17 Context, WasmInstanceObject, Smi, Smi, Object): JSAny;
21 extern runtime WasmTriggerTierUp(Context, WasmInstanceObject): JSAny;
28 Context, WasmInstanceObject, Number, Number): Smi;
30 Context, WasmInstanceObject, Number, Number, BigInt): Smi;
32 Context, WasmInstanceObject, Number, BigInt, BigInt): Smi;
[all …]
/external/v8/src/runtime/
Druntime-wasm.cc57 WasmInstanceObject GetWasmInstanceOnStackTop(Isolate* isolate) { in GetWasmInstanceOnStackTop()
96 CONVERT_ARG_HANDLE_CHECKED(WasmInstanceObject, instance, 0) in RUNTIME_FUNCTION()
114 CONVERT_ARG_HANDLE_CHECKED(WasmInstanceObject, instance, 0); in RUNTIME_FUNCTION()
194 CONVERT_ARG_HANDLE_CHECKED(WasmInstanceObject, instance, 0); in RUNTIME_FUNCTION()
219 CONVERT_ARG_HANDLE_CHECKED(WasmInstanceObject, instance, 0); in RUNTIME_FUNCTION()
230 WasmInstanceObject::GetWasmExternalFunction(isolate, instance, in RUNTIME_FUNCTION()
255 CONVERT_ARG_HANDLE_CHECKED(WasmInstanceObject, instance, 0); in RUNTIME_FUNCTION()
270 CONVERT_ARG_HANDLE_CHECKED(WasmInstanceObject, instance, 0); in RUNTIME_FUNCTION()
286 CONVERT_ARG_HANDLE_CHECKED(WasmInstanceObject, instance, 0); in RUNTIME_FUNCTION()
309 CONVERT_ARG_HANDLE_CHECKED(WasmInstanceObject, instance, 0); in RUNTIME_FUNCTION()
[all …]
/external/v8/src/debug/wasm/gdb-server/
Dwasm-module-debug.cc38 Handle<WasmInstanceObject> WasmModuleDebug::GetFirstWasmInstance() { in GetFirstWasmInstance()
47 Handle<WasmInstanceObject> instance( in GetFirstWasmInstance()
48 WasmInstanceObject::cast(maybe_instance->GetHeapObjectAssumeWeak()), in GetFirstWasmInstance()
53 return Handle<WasmInstanceObject>::null(); in GetFirstWasmInstance()
185 Handle<WasmInstanceObject> WasmModuleDebug::GetWasmInstance( in GetWasmInstance()
190 return Handle<WasmInstanceObject>::null(); in GetWasmInstance()
205 Handle<WasmInstanceObject> instance = GetWasmInstance(isolate, frame_index); in GetWasmGlobal()
211 WasmInstanceObject::GetGlobalValue(instance, module->globals[index]); in GetWasmGlobal()
233 Handle<WasmInstanceObject> instance = summary.AsWasm().wasm_instance(); in GetWasmLocal()
266 Handle<WasmInstanceObject> instance = summary.AsWasm().wasm_instance(); in GetWasmStackValue()
[all …]
Dwasm-module-debug.h79 static Handle<WasmInstanceObject> GetWasmInstance(Isolate* isolate,
83 Handle<WasmInstanceObject> GetFirstWasmInstance();
/external/v8/src/objects/
Dframe-array.h21 V(WasmInstance, WasmInstanceObject) \
66 Handle<FrameArray> in, Handle<WasmInstanceObject> wasm_instance,
Dstack-frame-info.h18 class WasmInstanceObject; variable
77 static Handle<WasmInstanceObject> GetWasmInstance(
Dstack-frame-info.tq31 wasm_instance: WasmInstanceObject|Null|Undefined;
Dobject-list-macros.h68 class WasmInstanceObject; variable
228 V(WasmInstanceObject) \
/external/v8/src/debug/
Ddebug-stack-trace-iterator.cc193 Handle<WasmInstanceObject> instance = wasmSummary.wasm_instance(); in Evaluate()
223 Handle<WasmInstanceObject> instance = wasmSummary.wasm_instance(); in EvaluateWasm()
Ddebug-evaluate.h41 Handle<WasmInstanceObject> instance, StackFrameId frame_id,
/external/v8/src/execution/
Dframes.h62 class WasmInstanceObject; variable
395 WasmFrameSummary(Isolate*, Handle<WasmInstanceObject>, wasm::WasmCode*,
408 Handle<WasmInstanceObject> wasm_instance() const { return wasm_instance_; } in wasm_instance()
414 Handle<WasmInstanceObject> wasm_instance_;
953 V8_EXPORT_PRIVATE WasmInstanceObject wasm_instance() const;
1055 WasmInstanceObject wasm_instance() const;

123