summaryrefslogtreecommitdiff
path: root/common.gypi
diff options
context:
space:
mode:
authorBenjamin <bencoe@gmail.com>2019-02-27 10:05:58 -0800
committerMichaƫl Zasso <targos@protonmail.com>2019-03-14 18:50:22 +0100
commit1a6ed980603a244418edfa2897ed81785aa1776e (patch)
tree521dc5d9da210fcec0e162dd35c7c117689eb0f2 /common.gypi
parentbea1a386a32afa2879622450549886b0e0bdeead (diff)
downloadandroid-node-v8-1a6ed980603a244418edfa2897ed81785aa1776e.tar.gz
android-node-v8-1a6ed980603a244418edfa2897ed81785aa1776e.tar.bz2
android-node-v8-1a6ed980603a244418edfa2897ed81785aa1776e.zip
deps: v8, backport 2d08967
Original commit message: [coverage] Extend SourceRangeAstVisitor for throw statements The SourceRangeAstVisitor has custom logic for blocks ending with a statement that has a continuation range. In these cases, the trailing continuation is removed which makes the reported coverage ranges a bit nicer. throw Error('foo') consists of an ExpressionStatement, with a Throw expression stored within the statement. The source range itself is stored with the Throw, not the statement. We now properly extract the correct AST node for trailing throw statements. R=jgruber@chromium.org, neis@chromium.org, yangguo@chromium.org Bug: v8:8691 Change-Id: Ibcbab79fbe54719a8993045040349c863b139011 Reviewed-on: https://chromium-review.googlesource.com/c/1480632 Commit-Queue: Georg Neis <neis@chromium.org> Reviewed-by: Georg Neis <neis@chromium.org> Reviewed-by: Jakob Gruber <jgruber@chromium.org> Cr-Commit-Position: refs/heads/master@{#59936} Refs: https://github.com/v8/v8/commit/2d08967d4a4b9a43aa2b11781421e09bff3b89ad PR-URL: https://github.com/nodejs/node/pull/26413 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.gypi b/common.gypi
index 4b108b4467..dbce905d01 100644
--- a/common.gypi
+++ b/common.gypi
@@ -37,7 +37,7 @@
# Reset this number to 0 on major V8 upgrades.
# Increment by one for each non-official patch applied to deps/v8.
- 'v8_embedder_string': '-node.3',
+ 'v8_embedder_string': '-node.4',
##### V8 defaults for Node.js #####