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

Unified Diff: src/objects.cc

Issue 2228073002: [wasm] serialization: updated external APIs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: [wasm] serialization: updated external APIs Created 4 years, 4 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 | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index 1c11997d392ceda436d6ec0fc9e5ace18f40e1fc..cf6338aa6569a8f9789a302e4bb1621ed399445d 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -53,6 +53,7 @@
#include "src/prototype.h"
#include "src/regexp/jsregexp.h"
#include "src/safepoint-table.h"
+#include "src/snapshot/code-serializer.h"
#include "src/source-position-table.h"
#include "src/string-builder.h"
#include "src/string-search.h"
@@ -19011,18 +19012,6 @@ Handle<JSArrayBuffer> JSTypedArray::GetBuffer() {
return MaterializeArrayBuffer(self);
}
-std::pair<std::unique_ptr<const byte>, size_t>
-WebAssemblyCompiledModule::Serialize() {
- // TODO(mtrofin): tie to the internal serialization API
- return {std::unique_ptr<const byte>(), 0};
-}
-
-MaybeHandle<WebAssemblyCompiledModule> WebAssemblyCompiledModule::Deserialize(
- Isolate* isolate, const byte* data, size_t size) {
- // TODO(mtrofin): tie to the internal serialization API
- return MaybeHandle<WebAssemblyCompiledModule>();
-}
-
Handle<PropertyCell> PropertyCell::InvalidateEntry(
Handle<GlobalDictionary> dictionary, int entry) {
Isolate* isolate = dictionary->GetIsolate();
« no previous file with comments | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698