diff options
author | Ali Ijaz Sheikh <ofrobots@google.com> | 2015-11-30 21:22:40 -0800 |
---|---|---|
committer | Ali Ijaz Sheikh <ofrobots@google.com> | 2015-12-04 00:06:01 -0800 |
commit | 8a43a3d7619fde59f0d1f2fad05d8ae7d1732b02 (patch) | |
tree | 8698af91526d0eac90840dcba1e5b565160105c4 /deps/v8/src/compiler/graph.cc | |
parent | 8a2acd4cc9807510786b4b6f7ad3a947aeb3a14c (diff) | |
download | node-new-8a43a3d7619fde59f0d1f2fad05d8ae7d1732b02.tar.gz |
deps: upgrade V8 to 4.7.80.24
Pick up the latest branch head for V8 4.7:
https://github.com/v8/v8/commit/be169f8df059040e6a53ec1dd4579d8bca2167b5
Full change history for the 4.7 branch:
https://chromium.googlesource.com/v8/v8.git/+log/branch-heads/4.7
V8 blog post about what is new on V8 4.7:
http://v8project.blogspot.de/2015/10/v8-release-47.html
PR-URL: https://github.com/nodejs/node/pull/4106
Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: targos - Michaƫl Zasso <mic.besace@gmail.com>
Reviewed-By: rvagg - Rod Vagg <rod@vagg.org>
Diffstat (limited to 'deps/v8/src/compiler/graph.cc')
-rw-r--r-- | deps/v8/src/compiler/graph.cc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/deps/v8/src/compiler/graph.cc b/deps/v8/src/compiler/graph.cc index 00074b5513..3d4d6da89c 100644 --- a/deps/v8/src/compiler/graph.cc +++ b/deps/v8/src/compiler/graph.cc @@ -8,6 +8,8 @@ #include "src/base/bits.h" #include "src/compiler/node.h" +#include "src/compiler/node-properties.h" +#include "src/compiler/verifier.h" namespace v8 { namespace internal { @@ -43,7 +45,14 @@ void Graph::RemoveDecorator(GraphDecorator* decorator) { Node* Graph::NewNode(const Operator* op, int input_count, Node** inputs, bool incomplete) { - DCHECK_LE(op->ValueInputCount(), input_count); + Node* node = NewNodeUnchecked(op, input_count, inputs, incomplete); + Verifier::VerifyNode(node); + return node; +} + + +Node* Graph::NewNodeUnchecked(const Operator* op, int input_count, + Node** inputs, bool incomplete) { Node* const node = Node::New(zone(), NextNodeId(), op, input_count, inputs, incomplete); Decorate(node); |