[wasm] remove deprecated deserialization API

We don't need the Deserialize API taking in a SerializedData anymore.

BUG=

Review-Url: https://chromiumcodereview.appspot.com/2436543004
Cr-Commit-Position: refs/heads/master@{#40473}
This commit is contained in:
mtrofin 2016-10-20 07:19:02 -07:00 committed by Commit bot
parent d2784b985f
commit 2282dd0941
2 changed files with 0 additions and 11 deletions

View File

@ -3906,10 +3906,6 @@ class V8_EXPORT WasmCompiledModule : public Object {
// uncompiled bytes.
SerializedModule Serialize();
// TODO(mtrofin): Back-compat. Move to private once change lands in Chrome.
// The resulting wasm setup won't have its uncompiled bytes available.
static MaybeLocal<WasmCompiledModule> Deserialize(
Isolate* isolate, const SerializedModule& serialized_module);
// If possible, deserialize the module, otherwise compile it from the provided
// uncompiled bytes.
static MaybeLocal<WasmCompiledModule> DeserializeOrCompile(

View File

@ -7213,13 +7213,6 @@ WasmCompiledModule::SerializedModule WasmCompiledModule::Serialize() {
return {std::unique_ptr<const uint8_t[]>(script_data->data()), size};
}
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) {