Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/snapshot/serializer-common.h')
-rw-r--r--deps/v8/src/snapshot/serializer-common.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/deps/v8/src/snapshot/serializer-common.h b/deps/v8/src/snapshot/serializer-common.h
index f4db5513bb1..34a6b646769 100644
--- a/deps/v8/src/snapshot/serializer-common.h
+++ b/deps/v8/src/snapshot/serializer-common.h
@@ -10,7 +10,7 @@
#include "src/external-reference-table.h"
#include "src/globals.h"
#include "src/snapshot/references.h"
-#include "src/utils.h"
+#include "src/v8memory.h"
#include "src/visitors.h"
namespace v8 {
@@ -300,8 +300,10 @@ class SerializedData {
SerializedData(byte* data, int size)
: data_(data), size_(size), owns_data_(false) {}
SerializedData() : data_(nullptr), size_(0), owns_data_(false) {}
- SerializedData(SerializedData&& other)
- : data_(other.data_), size_(other.size_), owns_data_(other.owns_data_) {
+ SerializedData(SerializedData&& other) V8_NOEXCEPT
+ : data_(other.data_),
+ size_(other.size_),
+ owns_data_(other.owns_data_) {
// Ensure |other| will not attempt to destroy our data in destructor.
other.owns_data_ = false;
}