Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
02602f7
deps: update V8 to 6.2.414.46
targos Jan 15, 2018
743012e
src: update NODE_MODULE_VERSION to 59
targos Jan 15, 2018
0252467
test: fix message test after V8 upgrade
targos Aug 28, 2017
e4dc16b
src: update ustack offset identifiers
geek Aug 28, 2017
fcd5860
src: fix rename of entry frame in v8abbr.h
geek Aug 29, 2017
3d3da4a
deps: cherry-pick 9b21865822243 from V8 upstream
addaleax Sep 8, 2017
7181fcd
deps: v8: fix potential segfault in profiler
ofrobots Sep 20, 2017
150e954
deps: backport 0f1dfae from V8 upstream
tebbi Oct 10, 2017
21bfde6
deps: cherry-pick 37a3a15c3 from V8 upstream
fhinkel Oct 18, 2017
d8de486
deps: cherry-pick 2c75616 from upstream V8
targos Oct 25, 2017
5a16d2e
deps: cherry-pick 676c413 from upstream V8
targos Oct 25, 2017
b56c82c
deps: cherry-pick e0d64dc from upstream V8
targos Oct 25, 2017
55d386c
deps: V8: backport b1cd96e from upstream
ofrobots Oct 18, 2017
dd8c994
deps: cherry-pick b8331cc030 from upstream V8
danbev Oct 30, 2017
3ad6a7d
deps: cherry-pick cc55747 from V8 upstream
fhinkel Nov 8, 2017
e2d41ed
deps: cherry-pick 1420e44db0 from upstream V8
TimothyGu Nov 27, 2017
259192f
deps: backport 3c8195d from V8 upstream
MylesBorins Nov 8, 2017
a10b18e
deps: V8: backport 14ac02c from upstream
ofrobots Dec 6, 2017
6e4a26d
deps: V8: cherry-pick ac0fe8ec from upstream
ofrobots Dec 15, 2017
c693140
deps: cherry-pick c3458a8 from upstream V8
targos Jan 11, 2018
d6e6253
deps: revert ABI breaking changes in V8 6.2
addaleax Oct 13, 2017
421626e
deps: revert ABI breaking changes in V8 6.1
addaleax Sep 14, 2017
c2f8d54
Revert "src: update NODE_MODULE_VERSION to 59"
MylesBorins Feb 7, 2018
40197d8
v8: make building addons with VS2013 work again
bnoordhuis Jan 29, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
deps: cherry-pick c3458a8 from upstream V8
Original commit message:

    [parser] Add new FunctionNameInferrer state before parsing param

    Create new state before parsing FormalParameter because we don't
    want to use any of the parameters as an inferred function name.

    Previously the stacktrace was:
      test.js:3: Error: boom
          throw new Error('boom');
          ^
      Error: boom
          at param (test.js:3:11)
          at test.js:4:5
          at test.js:6:3

    The stacktrace with this patch:
      test.js:3: Error: boom
          throw new Error('boom');
          ^
      Error: boom
          at test.js:3:11
          at test.js:4:5
          at test.js:6:3

    Bug: v8:6822, v8:6513
    Change-Id: Ifbadc660fc4e85248af405acd67c025f11662bd4
    Reviewed-on: https://chromium-review.googlesource.com/742657
    Reviewed-by: Adam Klein <adamk@chromium.org>
    Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#49042}

PR-URL: #18060
Fixes: #15386
Refs: v8/v8@c3458a8
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
targos authored and MylesBorins committed Feb 7, 2018
commit c693140e6ee7fbaa33f51b477e2647d5c30d17aa
2 changes: 1 addition & 1 deletion deps/v8/include/v8-version.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define V8_MAJOR_VERSION 6
#define V8_MINOR_VERSION 2
#define V8_BUILD_NUMBER 414
#define V8_PATCH_LEVEL 48
#define V8_PATCH_LEVEL 49

// Use 1 for candidates and 0 otherwise.
// (Boolean macro values are not supported by all preprocessors.)
Expand Down
1 change: 1 addition & 0 deletions deps/v8/src/parsing/parser-base.h
Original file line number Diff line number Diff line change
Expand Up @@ -3634,6 +3634,7 @@ void ParserBase<Impl>::ParseFormalParameter(FormalParametersT* parameters,
// BindingElement[?Yield, ?GeneratorParameter]
bool is_rest = parameters->has_rest;

FuncNameInferrer::State fni_state(fni_);
ExpressionT pattern = ParsePrimaryExpression(CHECK_OK_CUSTOM(Void));
ValidateBindingPattern(CHECK_OK_CUSTOM(Void));

Expand Down
10 changes: 10 additions & 0 deletions deps/v8/test/message/fail/func-name-inferrer-arg-1.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

(function (param = function() { throw new Error('boom') }) {
(() => {
param();
})();

})();
8 changes: 8 additions & 0 deletions deps/v8/test/message/fail/func-name-inferrer-arg-1.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*%(basename)s:5: Error: boom
(function (param = function() { throw new Error('boom') }) {
^
Error: boom
at param (*%(basename)s:5:39)
at *%(basename)s:7:5
at *%(basename)s:8:5
at *%(basename)s:10:3
10 changes: 10 additions & 0 deletions deps/v8/test/message/fail/func-name-inferrer-arg.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

(function (param) {
(() => {
throw new Error('boom');
})();

})();
7 changes: 7 additions & 0 deletions deps/v8/test/message/fail/func-name-inferrer-arg.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
*%(basename)s:7: Error: boom
throw new Error('boom');
^
Error: boom
at *%(basename)s:7:11
at *%(basename)s:8:5
at *%(basename)s:10:3