summaryrefslogtreecommitdiff
path: root/deps/v8/test
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2019-10-09 11:18:25 +0200
committerMichaël Zasso <targos@protonmail.com>2019-10-11 11:41:02 +0200
commit6b962ddf01f404a51deed683b3a88ea19276107c (patch)
tree9c8575f058e579fc0636aa5a792b3f8e49c1b75b /deps/v8/test
parent81bc7b3ba5a37a5ad4de0f8798eb42e631d55617 (diff)
downloadandroid-node-v8-6b962ddf01f404a51deed683b3a88ea19276107c.tar.gz
android-node-v8-6b962ddf01f404a51deed683b3a88ea19276107c.tar.bz2
android-node-v8-6b962ddf01f404a51deed683b3a88ea19276107c.zip
deps: patch V8 to 7.8.279.15
Refs: https://github.com/v8/v8/compare/7.8.279.14...7.8.279.15 PR-URL: https://github.com/nodejs/node/pull/29899 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Diffstat (limited to 'deps/v8/test')
-rw-r--r--deps/v8/test/mjsunit/regress/regress-crbug-1009728.js15
-rw-r--r--deps/v8/test/mjsunit/regress/regress-crbug-1011596-module.mjs8
-rw-r--r--deps/v8/test/mjsunit/regress/regress-crbug-1011596.mjs5
3 files changed, 28 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/regress/regress-crbug-1009728.js b/deps/v8/test/mjsunit/regress/regress-crbug-1009728.js
new file mode 100644
index 0000000000..2632368910
--- /dev/null
+++ b/deps/v8/test/mjsunit/regress/regress-crbug-1009728.js
@@ -0,0 +1,15 @@
+// Copyright 2019 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.
+
+// Flags: --stress-lazy-source-positions
+
+function foo(x) {
+ (function bar() {
+ {
+ x: 1
+ }
+ function f() {}
+ });
+}
+foo();
diff --git a/deps/v8/test/mjsunit/regress/regress-crbug-1011596-module.mjs b/deps/v8/test/mjsunit/regress/regress-crbug-1011596-module.mjs
new file mode 100644
index 0000000000..2ad389f7a0
--- /dev/null
+++ b/deps/v8/test/mjsunit/regress/regress-crbug-1011596-module.mjs
@@ -0,0 +1,8 @@
+// Copyright 2019 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.
+
+export function foo() {
+ { label: 1 }
+ return 42;
+}
diff --git a/deps/v8/test/mjsunit/regress/regress-crbug-1011596.mjs b/deps/v8/test/mjsunit/regress/regress-crbug-1011596.mjs
new file mode 100644
index 0000000000..c223a3a1b5
--- /dev/null
+++ b/deps/v8/test/mjsunit/regress/regress-crbug-1011596.mjs
@@ -0,0 +1,5 @@
+// Copyright 2019 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.
+
+import "./regress-crbug-1011596-module.mjs"