Searched refs:WasmSerializer (Results 1 – 5 of 5) sorted by relevance
17 class V8_EXPORT_PRIVATE WasmSerializer {19 explicit WasmSerializer(NativeModule* native_module);
128 DCHECK_EQ(WasmSerializer::kHeaderSize, writer->bytes_written()); in WriteHeader()448 WasmSerializer::WasmSerializer(NativeModule* native_module) in WasmSerializer() function in v8::internal::wasm::WasmSerializer452 size_t WasmSerializer::GetSerializedNativeModuleSize() const { in GetSerializedNativeModuleSize()457 bool WasmSerializer::SerializeNativeModule(Vector<byte> buffer) const { in SerializeNativeModule()601 if (header.size() < WasmSerializer::kHeaderSize) return false; in IsSupportedVersion()602 byte current_version[WasmSerializer::kHeaderSize]; in IsSupportedVersion()603 Writer writer({current_version, WasmSerializer::kHeaderSize}); in IsSupportedVersion()605 return memcmp(header.begin(), current_version, WasmSerializer::kHeaderSize) == in IsSupportedVersion()641 Reader reader(data + WasmSerializer::kHeaderSize); in DeserializeNativeModule()
1039 i::wasm::WasmSerializer serializer(native_module); in serialize()
1385 wasm::WasmSerializer wasm_serializer(native_module); in RUNTIME_FUNCTION()
7334 i::wasm::WasmSerializer wasm_serializer(native_module_.get()); in Serialize()