summaryrefslogtreecommitdiff
path: root/deps/v8/src/snapshot/code-serializer.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/snapshot/code-serializer.h')
-rw-r--r--deps/v8/src/snapshot/code-serializer.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/deps/v8/src/snapshot/code-serializer.h b/deps/v8/src/snapshot/code-serializer.h
index 720995f163..78b1cdc77c 100644
--- a/deps/v8/src/snapshot/code-serializer.h
+++ b/deps/v8/src/snapshot/code-serializer.h
@@ -5,12 +5,13 @@
#ifndef V8_SNAPSHOT_CODE_SERIALIZER_H_
#define V8_SNAPSHOT_CODE_SERIALIZER_H_
+#include "src/base/macros.h"
#include "src/snapshot/serializer.h"
namespace v8 {
namespace internal {
-class ScriptData {
+class V8_EXPORT_PRIVATE ScriptData {
public:
ScriptData(const byte* data, int length);
~ScriptData() {
@@ -44,7 +45,8 @@ class ScriptData {
class CodeSerializer : public Serializer {
public:
- static ScriptCompiler::CachedData* Serialize(Handle<SharedFunctionInfo> info);
+ V8_EXPORT_PRIVATE static ScriptCompiler::CachedData* Serialize(
+ Handle<SharedFunctionInfo> info);
ScriptData* SerializeSharedFunctionInfo(Handle<SharedFunctionInfo> info);