diff options
author | Michaël Zasso <targos@protonmail.com> | 2018-12-04 08:20:37 +0100 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2018-12-06 15:23:33 +0100 |
commit | 9b4bf7de6c9a7c25f116c7a502384c20b5cfaea3 (patch) | |
tree | 2b0c843168dafb939d8df8a15b2aa72b76dee51d /deps/v8/src/compiler/node.h | |
parent | b8fbe69db1292307adb2c2b2e0d5ef48c4ab2faf (diff) | |
download | android-node-v8-9b4bf7de6c9a7c25f116c7a502384c20b5cfaea3.tar.gz android-node-v8-9b4bf7de6c9a7c25f116c7a502384c20b5cfaea3.tar.bz2 android-node-v8-9b4bf7de6c9a7c25f116c7a502384c20b5cfaea3.zip |
deps: update V8 to 7.1.302.28
PR-URL: https://github.com/nodejs/node/pull/23423
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'deps/v8/src/compiler/node.h')
-rw-r--r-- | deps/v8/src/compiler/node.h | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/deps/v8/src/compiler/node.h b/deps/v8/src/compiler/node.h index fc5a17c19d..01dca47cbe 100644 --- a/deps/v8/src/compiler/node.h +++ b/deps/v8/src/compiler/node.h @@ -429,8 +429,7 @@ class Node::InputEdges::iterator final { typedef Edge& reference; iterator() : use_(nullptr), input_ptr_(nullptr) {} - iterator(const iterator& other) - : use_(other.use_), input_ptr_(other.input_ptr_) {} + iterator(const iterator& other) = default; Edge operator*() const { return Edge(use_, input_ptr_); } bool operator==(const iterator& other) const { @@ -488,7 +487,7 @@ class Node::Inputs::const_iterator final { typedef const value_type* pointer; typedef value_type& reference; - const_iterator(const const_iterator& other) : input_ptr_(other.input_ptr_) {} + const_iterator(const const_iterator& other) = default; Node* operator*() const { return *input_ptr_; } bool operator==(const const_iterator& other) const { @@ -536,8 +535,7 @@ Node* Node::Inputs::operator[](int index) const { return input_root_[index]; } // A forward iterator to visit the uses edges of a node. class Node::UseEdges::iterator final { public: - iterator(const iterator& other) - : current_(other.current_), next_(other.next_) {} + iterator(const iterator& other) = default; Edge operator*() const { return Edge(current_, current_->input_ptr()); } bool operator==(const iterator& other) const { @@ -584,15 +582,6 @@ class Node::Uses::const_iterator final { typedef Node** pointer; typedef Node*& reference; - const_iterator(const const_iterator& other) - : current_(other.current_) -#ifdef DEBUG - , - next_(other.next_) -#endif - { - } - Node* operator*() const { return current_->from(); } bool operator==(const const_iterator& other) const { return other.current_ == current_; |