Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: src/api.cc

Issue 2436543004: [wasm] remove deprecated deserialization API (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/v8.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index 3a6ff94a9c34330ce8eb4cdadc55f96a0db69109..55e7c8709897c410b1a8aa4a8de1b3b56a33e056 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -7215,13 +7215,6 @@ WasmCompiledModule::SerializedModule WasmCompiledModule::Serialize() {
MaybeLocal<WasmCompiledModule> WasmCompiledModule::Deserialize(
Isolate* isolate,
- const WasmCompiledModule::SerializedModule& serialized_module) {
- return Deserialize(isolate,
- {serialized_module.first.get(), serialized_module.second});
-}
-
-MaybeLocal<WasmCompiledModule> WasmCompiledModule::Deserialize(
- Isolate* isolate,
const WasmCompiledModule::CallerOwnedBuffer& serialized_module) {
int size = static_cast<int>(serialized_module.second);
i::ScriptData sc(serialized_module.first, size);
« no previous file with comments | « include/v8.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698