Lines Matching defs:wasm
22 #include "src/wasm/stacks.h"
23 #include "src/wasm/struct-types.h"
24 #include "src/wasm/value-type.h"
31 namespace wasm {
41 } // namespace wasm
60 #include "torque-generated/src/wasm/wasm-objects-tq.inc"
95 const wasm::WasmCode* wasm_to_js_wrapper,
116 inline wasm::NativeModule* native_module() const;
117 inline const std::shared_ptr<wasm::NativeModule>& shared_native_module()
119 inline const wasm::WasmModule* module() const;
127 Isolate* isolate, std::shared_ptr<wasm::NativeModule> native_module,
130 Isolate* isolate, std::shared_ptr<wasm::NativeModule> native_module,
157 Isolate*, Handle<WasmModuleObject>, wasm::WireBytesRef,
160 Isolate*, base::Vector<const uint8_t> wire_byte, wasm::WireBytesRef,
170 inline wasm::ValueType type();
178 wasm::ValueType type, uint32_t initial, bool has_maximum,
205 // TODO(wasm): Unify these three methods into one.
208 const wasm::WasmFunction* func,
230 Isolate* isolate, const wasm::WasmModule* module,
281 DECL_PRIMITIVE_ACCESSORS(type, wasm::ValueType)
289 MaybeHandle<FixedArray> maybe_tagged_buffer, wasm::ValueType type,
452 const wasm::WasmModule* module();
515 const wasm::WasmGlobal&);
520 Handle<WasmInstanceObject>, const wasm::WasmGlobal&);
523 static wasm::WasmValue GetGlobalValue(Handle<WasmInstanceObject>,
524 const wasm::WasmGlobal&);
541 bool MatchesSignature(const wasm::FunctionSig* sig);
544 const wasm::FunctionSig* sig,
569 static uint32_t GetEncodedSize(const wasm::WasmTag* tag);
604 V8_EXPORT_PRIVATE const wasm::FunctionSig* sig();
606 bool MatchesSignature(const wasm::WasmModule* other_module,
607 const wasm::FunctionSig* other_sig);
610 // 'js-to-wasm:<sig>'.
611 static std::unique_ptr<char[]> GetDebugName(const wasm::FunctionSig* sig);
624 const wasm::FunctionSig* sig,
632 const wasm::FunctionSig* GetSignature(Zone* zone);
633 bool MatchesSignature(const wasm::FunctionSig* sig);
635 bool MatchesSignatureForSuspend(const wasm::FunctionSig* sig);
648 Handle<PodArray<wasm::ValueType>> serialized_signature);
650 PodArray<wasm::ValueType> GetSerializedSignature() const;
653 bool MatchesSignature(const wasm::FunctionSig* sig) const;
663 // // TODO(wasm): Potentially {WasmCapiFunction} will be added here as well.
715 inline wasm::FunctionSig* sig() const;
845 wasm::NativeModule* native_module, const debug::Location& start,
860 // Tags provide an object identity for each exception defined in a wasm module
880 Isolate* isolate, std::shared_ptr<wasm::NativeModule> native_module,
905 Isolate* isolate, wasm::ValueType type, Handle<Object> value);
912 wasm::ValueType type,
916 wasm::ValueType type, uint32_t offset,
928 static inline wasm::StructType* type(Map map);
929 inline wasm::StructType* type() const;
930 static inline wasm::StructType* GcSafeType(Map map);
931 static inline int Size(const wasm::StructType* type);
942 wasm::WasmValue GetFieldValue(uint32_t field_index);
961 static inline wasm::ArrayType* type(Map map);
962 inline wasm::ArrayType* type() const;
963 static inline wasm::ArrayType* GcSafeType(Map map);
968 V8_EXPORT_PRIVATE wasm::WasmValue GetElement(uint32_t index);
988 static int MaxLength(const wasm::ArrayType* type) {
1002 // A wasm delimited continuation.
1008 Isolate* isolate, std::unique_ptr<wasm::StackMemory> stack);
1018 Isolate* isolate, std::unique_ptr<wasm::StackMemory> stack,
1024 // The suspender object provides an API to suspend and resume wasm code using
1038 namespace wasm {
1042 } // namespace wasm