Home
last modified time | relevance | path

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

12

/external/v8/src/wasm/
Dwasm-objects-inl.h27 CAST_ACCESSOR(WasmInstanceObject) in CAST_ACCESSOR()
144 PRIMITIVE_ACCESSORS(WasmInstanceObject, memory_start, byte*, kMemoryStartOffset) in PRIMITIVE_ACCESSORS() argument
145 PRIMITIVE_ACCESSORS(WasmInstanceObject, memory_size, size_t, kMemorySizeOffset) in PRIMITIVE_ACCESSORS()
146 PRIMITIVE_ACCESSORS(WasmInstanceObject, memory_mask, size_t, kMemoryMaskOffset) in PRIMITIVE_ACCESSORS()
147 PRIMITIVE_ACCESSORS(WasmInstanceObject, roots_array_address, Address, in PRIMITIVE_ACCESSORS()
149 PRIMITIVE_ACCESSORS(WasmInstanceObject, stack_limit_address, Address, in PRIMITIVE_ACCESSORS()
151 PRIMITIVE_ACCESSORS(WasmInstanceObject, real_stack_limit_address, Address, in PRIMITIVE_ACCESSORS()
153 PRIMITIVE_ACCESSORS(WasmInstanceObject, imported_function_targets, Address*, in PRIMITIVE_ACCESSORS()
155 PRIMITIVE_ACCESSORS(WasmInstanceObject, globals_start, byte*, in PRIMITIVE_ACCESSORS()
157 PRIMITIVE_ACCESSORS(WasmInstanceObject, imported_mutable_globals, Address*, in PRIMITIVE_ACCESSORS()
[all …]
Dwasm-objects.h40 class WasmInstanceObject; variable
56 inline IndirectFunctionTableEntry(Handle<WasmInstanceObject>, int index);
59 void set(int sig_id, WasmInstanceObject* instance, Address call_target);
61 WasmInstanceObject* instance();
66 Handle<WasmInstanceObject> const instance_;
83 inline ImportedFunctionEntry(Handle<WasmInstanceObject>, int index);
89 void set_wasm_to_wasm(WasmInstanceObject* target_instance,
92 WasmInstanceObject* instance();
98 Handle<WasmInstanceObject> const instance_;
164 Handle<WasmInstanceObject>);
[all …]
Dwasm-objects.cc65 WasmInstanceNativeAllocations(Handle<WasmInstanceObject> instance, in WasmInstanceNativeAllocations()
89 Handle<WasmInstanceObject> instance, in resize_indirect_function_table()
143 WasmInstanceObject* instance) { in GetNativeAllocations()
266 Handle<WasmInstanceObject> instance( in SetBreakPoint()
267 WasmInstanceObject::cast(maybe_instance->ToWeakHeapObject()), in SetBreakPoint()
270 WasmInstanceObject::GetOrCreateDebugInfo(instance); in SetBreakPoint()
367 Handle<WasmInstanceObject> instance) { in SetBreakpointsOnNewInstance()
371 WasmInstanceObject::GetOrCreateDebugInfo(instance); in SetBreakpointsOnNewInstance()
767 Handle<WasmInstanceObject> instance, in AddDispatchTable()
804 Handle<WasmInstanceObject> instance( in Grow()
[all …]
Dwasm-engine.h21 class WasmInstanceObject; variable
38 virtual void OnInstantiationSucceeded(Handle<WasmInstanceObject> result) = 0;
72 MaybeHandle<WasmInstanceObject> SyncInstantiate(
Dmodule-compiler.cc219 MaybeHandle<WasmInstanceObject> Build();
292 void LoadDataSegments(Handle<WasmInstanceObject> instance);
307 int ProcessImports(Handle<WasmInstanceObject> instance);
322 void ProcessExports(Handle<WasmInstanceObject> instance);
324 void InitializeTables(Handle<WasmInstanceObject> instance);
326 void LoadTableSegments(Handle<WasmInstanceObject> instance);
331 MaybeHandle<WasmInstanceObject> InstantiateToInstanceObject( in InstantiateToInstanceObject()
437 IdentityMap<Handle<WasmInstanceObject>, FreeStoreAllocationPolicy>;
955 MaybeHandle<WasmInstanceObject> InstanceBuilder::Build() { in Build()
1043 Handle<WasmInstanceObject> instance = in Build()
[all …]
Dwasm-interpreter.h15 class WasmInstanceObject; variable
168 Handle<WasmInstanceObject> instance);
Dwasm-debug.cc168 bool Execute(Handle<WasmInstanceObject> instance_object, in Execute()
285 Handle<WasmInstanceObject> GetInstanceObject() { in GetInstanceObject()
289 Handle<WasmInstanceObject> instance_obj(frame->wasm_instance(), isolate_); in GetInstanceObject()
409 Handle<WasmInstanceObject> instance(debug_info->wasm_instance(), isolate); in GetGlobalScopeObject()
573 Handle<WasmDebugInfo> WasmDebugInfo::New(Handle<WasmInstanceObject> instance) { in New()
584 Handle<WasmInstanceObject> instance_obj) { in SetupForTesting()
616 Handle<WasmInstanceObject> instance(debug_info->wasm_instance(), isolate); in RedirectToInterpreter()
653 Handle<WasmInstanceObject> instance(debug_info->wasm_instance(), isolate); in RunInterpreter()
Dmodule-compiler.h24 class WasmInstanceObject; variable
56 MaybeHandle<WasmInstanceObject> InstantiateToInstanceObject(
Dwasm-engine.cc72 MaybeHandle<WasmInstanceObject> WasmEngine::SyncInstantiate( in SyncInstantiate()
92 MaybeHandle<WasmInstanceObject> instance_object = SyncInstantiate( in AsyncInstantiate()
Dwasm-interpreter.cc1086 Handle<WasmInstanceObject> instance_object) in ThreadImpl()
1247 Handle<WasmInstanceObject> instance_object_;
2708 Isolate* isolate, Handle<WasmInstanceObject> instance, in CallExternalWasmFunction()
2845 Handle<WasmInstanceObject> instance; in CallImportedFunction()
2895 Handle<WasmInstanceObject> instance = handle(entry.instance(), isolate); in CallIndirectFunction()
3084 Handle<WasmInstanceObject> instance_object) in WasmInterpreterInternals()
3099 Handle<WasmInstanceObject> MakeWeak( in MakeWeak()
3100 Isolate* isolate, Handle<WasmInstanceObject> instance_object) { in MakeWeak()
3106 return Handle<WasmInstanceObject>::cast(handle); in MakeWeak()
3115 Handle<WasmInstanceObject> instance_object) in WasmInterpreter()
Dwasm-js.cc256 i::Handle<i::WasmInstanceObject> instance) override { in OnInstantiationSucceeded()
293 i::Handle<i::WasmInstanceObject> instance) override { in OnInstantiationSucceeded()
1120 EXTRACT_THIS(receiver, WasmInstanceObject); in WebAssemblyInstanceGetExports()
1541 i::WASM_INSTANCE_TYPE, WasmInstanceObject::kSize); in Install()
/external/v8/src/runtime/
Druntime-wasm.cc27 WasmInstanceObject* GetWasmInstanceOnStackTop(Isolate* isolate) { in GetWasmInstanceOnStackTop()
33 WasmInstanceObject* result = nullptr; in GetWasmInstanceOnStackTop()
69 CONVERT_ARG_HANDLE_CHECKED(WasmInstanceObject, instance, 0); in RUNTIME_FUNCTION()
238 Handle<WasmInstanceObject> instance(GetWasmInstanceOnStackTop(isolate), in RUNTIME_FUNCTION()
270 WasmInstanceObject::GetOrCreateDebugInfo(instance); in RUNTIME_FUNCTION()
303 CONVERT_ARG_HANDLE_CHECKED(WasmInstanceObject, instance, 0); in RUNTIME_FUNCTION()
Druntime-test.cc982 CONVERT_ARG_HANDLE_CHECKED(WasmInstanceObject, instance, 0); in RUNTIME_FUNCTION()
991 CONVERT_ARG_HANDLE_CHECKED(WasmInstanceObject, instance, 0); in RUNTIME_FUNCTION()
994 WasmInstanceObject::GetOrCreateDebugInfo(instance); in RUNTIME_FUNCTION()
1032 CONVERT_ARG_HANDLE_CHECKED(WasmInstanceObject, instance, 0); in RUNTIME_FUNCTION()
1070 CONVERT_ARG_CHECKED(WasmInstanceObject, instance, 0); in RUNTIME_FUNCTION()
/external/v8/src/objects/
Dframe-array.h21 V(WasmInstance, WasmInstanceObject) \
62 Handle<FrameArray> in, Handle<WasmInstanceObject> wasm_instance,
Dmap.h64 V(WasmInstanceObject) \
/external/v8/src/
Dframes.h30 class WasmInstanceObject; variable
533 WasmFrameSummary(Isolate*, Kind, Handle<WasmInstanceObject>,
545 Handle<WasmInstanceObject> wasm_instance() const { return wasm_instance_; } in wasm_instance()
551 Handle<WasmInstanceObject> wasm_instance_;
557 WasmCompiledFrameSummary(Isolate*, Handle<WasmInstanceObject>,
573 WasmInterpretedFrameSummary(Isolate*, Handle<WasmInstanceObject>,
979 WasmInstanceObject* wasm_instance() const;
1021 WasmInstanceObject* wasm_instance() const;
1080 WasmInstanceObject* wasm_instance() const;
Dframes.cc1298 Handle<WasmInstanceObject> instance, bool at_to_number_conversion) in WasmFrameSummary()
1346 Isolate* isolate, Handle<WasmInstanceObject> instance, wasm::WasmCode* code, in WasmCompiledFrameSummary()
1375 Isolate* isolate, Handle<WasmInstanceObject> instance, in WasmInterpretedFrameSummary()
1802 WasmInstanceObject* WasmCompiledFrame::wasm_instance() const { in wasm_instance()
1805 return WasmInstanceObject::cast(instance); in wasm_instance()
1826 Handle<WasmInstanceObject> instance(wasm_instance(), isolate()); in Summarize()
1877 Handle<WasmInstanceObject> instance(wasm_instance(), isolate()); in Summarize()
1890 WasmInstanceObject* WasmInterpreterEntryFrame::wasm_instance() const { in wasm_instance()
1893 return WasmInstanceObject::cast(instance); in wasm_instance()
1920 WasmInstanceObject* WasmCompileLazyFrame::wasm_instance() const { in wasm_instance()
[all …]
Dmessages.h30 class WasmInstanceObject; variable
165 Handle<WasmInstanceObject> wasm_instance_;
Dobjects-body-descriptors-inl.h565 class WasmInstanceObject::BodyDescriptor final : public BodyDescriptorBase {
741 return Op::template apply<WasmInstanceObject::BodyDescriptor>(p1, p2, p3, in BodyDescriptorApply()
Dobjects-printer.cc199 WasmInstanceObject::cast(this)->WasmInstanceObjectPrint(os); in HeapObjectPrint()
1712 void WasmInstanceObject::WasmInstanceObjectPrint(std::ostream& os) { // NOLINT in WasmInstanceObjectPrint()
Dobjects-debug.cc234 WasmInstanceObject::cast(this)->WasmInstanceObjectVerify(isolate); in HeapObjectVerify()
1648 void WasmInstanceObject::WasmInstanceObjectVerify(Isolate* isolate) { in WasmInstanceObjectVerify()
Disolate.cc454 Handle<WasmInstanceObject> instance = summary.wasm_instance(); in AppendStandardFrame()
473 Handle<WasmInstanceObject> instance = summary.wasm_instance(); in AppendStandardFrame()
1738 Handle<WasmInstanceObject> instance(elements->WasmInstance(i), this); in Throw()
/external/v8/src/builtins/
Dbuiltins-wasm-gen.cc28 IntPtrConstant(WasmInstanceObject::kRootsArrayAddressOffset - in LoadBuiltinFromFrame()
44 IntPtrConstant(WasmInstanceObject::kCEntryStubOffset - in LoadCEntryFromInstance()
/external/v8/src/heap/
Dobjects-visiting.h67 V(WasmInstanceObject)
Dconcurrent-marking.cc182 int VisitWasmInstanceObject(Map* map, WasmInstanceObject* object) { in VisitWasmInstanceObject()

12