diff options
author | Michaël Zasso <targos@protonmail.com> | 2016-12-23 16:30:57 +0100 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2017-01-26 22:46:17 +0100 |
commit | 2739185b790e040c3b044c577327f5d44bffad4a (patch) | |
tree | 29a466999212f4c85958379d9d400eec8a185ba5 /deps/v8/test/message | |
parent | a67a04d7654faaa04c8da00e42981ebc9fd0911c (diff) | |
download | node-new-2739185b790e040c3b044c577327f5d44bffad4a.tar.gz |
deps: update V8 to 5.5.372.40
PR-URL: https://github.com/nodejs/node/pull/9618
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'deps/v8/test/message')
44 files changed, 17 insertions, 342 deletions
diff --git a/deps/v8/test/message/arrow-invalid-rest-2.out b/deps/v8/test/message/arrow-invalid-rest-2.out index 0196483a66..ad6bcb034d 100644 --- a/deps/v8/test/message/arrow-invalid-rest-2.out +++ b/deps/v8/test/message/arrow-invalid-rest-2.out @@ -1,4 +1,4 @@ -*%(basename)s:7: SyntaxError: Rest parameter must be an identifier or destructuring pattern +*%(basename)s:7: SyntaxError: Unexpected token = var f = (a, ...x = 10) => x; - ^^^^^^^^^ -SyntaxError: Rest parameter must be an identifier or destructuring pattern + ^ +SyntaxError: Unexpected token = diff --git a/deps/v8/test/message/arrow-invalid-rest.out b/deps/v8/test/message/arrow-invalid-rest.out index 4045f14e78..99a8557f1e 100644 --- a/deps/v8/test/message/arrow-invalid-rest.out +++ b/deps/v8/test/message/arrow-invalid-rest.out @@ -1,4 +1,4 @@ -*%(basename)s:7: SyntaxError: Rest parameter must be an identifier or destructuring pattern +*%(basename)s:7: SyntaxError: Unexpected token = var f = (...x = 10) => x; - ^^^^^^^^^ -SyntaxError: Rest parameter must be an identifier or destructuring pattern + ^ +SyntaxError: Unexpected token = diff --git a/deps/v8/test/message/export-duplicate-as.js b/deps/v8/test/message/export-duplicate-as.js index 49b52d4b17..416180b093 100644 --- a/deps/v8/test/message/export-duplicate-as.js +++ b/deps/v8/test/message/export-duplicate-as.js @@ -4,6 +4,6 @@ // // MODULE -var a, b; +var a, b, c; export { a as c }; -export { a, b as c }; +export { a, b as c, c, b }; diff --git a/deps/v8/test/message/export-duplicate-as.out b/deps/v8/test/message/export-duplicate-as.out index 1726d9491a..729de8a904 100644 --- a/deps/v8/test/message/export-duplicate-as.out +++ b/deps/v8/test/message/export-duplicate-as.out @@ -2,6 +2,6 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. *%(basename)s:9: SyntaxError: Duplicate export of 'c' -export { a, b as c }; - ^ +export { a, b as c, c, b }; + ^ SyntaxError: Duplicate export of 'c' diff --git a/deps/v8/test/message/export-duplicate-default.js b/deps/v8/test/message/export-duplicate-default.js index 72a54a45f4..de1a8807c1 100644 --- a/deps/v8/test/message/export-duplicate-default.js +++ b/deps/v8/test/message/export-duplicate-default.js @@ -5,4 +5,5 @@ // MODULE export default function f() {}; +export default 42; export default class C {}; diff --git a/deps/v8/test/message/export-duplicate-default.out b/deps/v8/test/message/export-duplicate-default.out index 4c6b97a7a1..685e289891 100644 --- a/deps/v8/test/message/export-duplicate-default.out +++ b/deps/v8/test/message/export-duplicate-default.out @@ -1,7 +1,7 @@ # Copyright 2015 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. -*%(basename)s:8: SyntaxError: Duplicate export of 'default' +*%(basename)s:9: SyntaxError: Duplicate export of 'default' export default class C {}; ^^^^^^^ SyntaxError: Duplicate export of 'default' diff --git a/deps/v8/test/message/export-duplicate.js b/deps/v8/test/message/export-duplicate.js index f45aefe13f..93011f0c1c 100644 --- a/deps/v8/test/message/export-duplicate.js +++ b/deps/v8/test/message/export-duplicate.js @@ -4,6 +4,7 @@ // // MODULE -var a, b; +var a, b, c; export { a }; export { a, b }; +export { b, c }; diff --git a/deps/v8/test/message/export-duplicate.out b/deps/v8/test/message/export-duplicate.out index e88779f580..9811cb122c 100644 --- a/deps/v8/test/message/export-duplicate.out +++ b/deps/v8/test/message/export-duplicate.out @@ -1,7 +1,7 @@ # Copyright 2015 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. -*%(basename)s:9: SyntaxError: Duplicate export of 'a' -export { a, b }; +*%(basename)s:10: SyntaxError: Duplicate export of 'b' +export { b, c }; ^ -SyntaxError: Duplicate export of 'a' +SyntaxError: Duplicate export of 'b' diff --git a/deps/v8/test/message/syntactic-tail-call-in-binop-lhs.js b/deps/v8/test/message/syntactic-tail-call-in-binop-lhs.js deleted file mode 100644 index 58d4c957ac..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-in-binop-lhs.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2016 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: --harmony-explicit-tailcalls -"use strict"; - -function f() { - return 1; -} - -function g() { - return continue f() - a ; -} diff --git a/deps/v8/test/message/syntactic-tail-call-in-binop-lhs.out b/deps/v8/test/message/syntactic-tail-call-in-binop-lhs.out deleted file mode 100644 index 14670cd280..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-in-binop-lhs.out +++ /dev/null @@ -1,4 +0,0 @@ -*%(basename)s:13: SyntaxError: Tail call expression is not allowed here - return continue f() - a ; - ^^^^^^^^^^^^ -SyntaxError: Tail call expression is not allowed here diff --git a/deps/v8/test/message/syntactic-tail-call-in-binop-rhs.js b/deps/v8/test/message/syntactic-tail-call-in-binop-rhs.js deleted file mode 100644 index a586cc84ee..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-in-binop-rhs.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2016 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: --harmony-explicit-tailcalls -"use strict"; - -function f() { - return 1; -} - -function g() { - return b + continue f() ; -} diff --git a/deps/v8/test/message/syntactic-tail-call-in-binop-rhs.out b/deps/v8/test/message/syntactic-tail-call-in-binop-rhs.out deleted file mode 100644 index 207c526e2f..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-in-binop-rhs.out +++ /dev/null @@ -1,4 +0,0 @@ -*%(basename)s:13: SyntaxError: Tail call expression is not allowed here - return b + continue f() ; - ^^^^^^^^^^^^ -SyntaxError: Tail call expression is not allowed here diff --git a/deps/v8/test/message/syntactic-tail-call-in-comma.js b/deps/v8/test/message/syntactic-tail-call-in-comma.js deleted file mode 100644 index 402a4a8f7d..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-in-comma.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2016 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: --harmony-explicit-tailcalls -"use strict"; - -function f() { - return 1; -} - -function g() { - return 1, 2, 3, continue f() , 4 ; -} diff --git a/deps/v8/test/message/syntactic-tail-call-in-comma.out b/deps/v8/test/message/syntactic-tail-call-in-comma.out deleted file mode 100644 index c4ecc28c97..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-in-comma.out +++ /dev/null @@ -1,4 +0,0 @@ -*%(basename)s:13: SyntaxError: Tail call expression is not allowed here - return 1, 2, 3, continue f() , 4 ; - ^^^^^^^^^^^^ -SyntaxError: Tail call expression is not allowed here diff --git a/deps/v8/test/message/syntactic-tail-call-in-extends.js b/deps/v8/test/message/syntactic-tail-call-in-extends.js deleted file mode 100644 index 86bf77ebbe..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-in-extends.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2016 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: --harmony-explicit-tailcalls -"use strict"; - -function g() { - return class A extends continue f() {}; -} diff --git a/deps/v8/test/message/syntactic-tail-call-in-extends.out b/deps/v8/test/message/syntactic-tail-call-in-extends.out deleted file mode 100644 index f54155d2b5..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-in-extends.out +++ /dev/null @@ -1,4 +0,0 @@ -*%(basename)s:9: SyntaxError: Tail call expression is not allowed here - return class A extends continue f() {}; - ^^^^^^^^^^^^ -SyntaxError: Tail call expression is not allowed here diff --git a/deps/v8/test/message/syntactic-tail-call-in-for-in.js b/deps/v8/test/message/syntactic-tail-call-in-for-in.js deleted file mode 100644 index 8ad7aca54a..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-in-for-in.js +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2016 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: --harmony-explicit-tailcalls -"use strict"; - -function f() { - return 1; -} - -function g() { - for (var v in {a:0}) { - return continue f() ; - } -} diff --git a/deps/v8/test/message/syntactic-tail-call-in-for-in.out b/deps/v8/test/message/syntactic-tail-call-in-for-in.out deleted file mode 100644 index 1bf52c48cb..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-in-for-in.out +++ /dev/null @@ -1,4 +0,0 @@ -*%(basename)s:14: SyntaxError: Tail call expression in for-in/of body - return continue f() ; - ^^^^^^^^^^^^ -SyntaxError: Tail call expression in for-in/of body diff --git a/deps/v8/test/message/syntactic-tail-call-in-for-of.js b/deps/v8/test/message/syntactic-tail-call-in-for-of.js deleted file mode 100644 index 7cd761f38e..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-in-for-of.js +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2016 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: --harmony-explicit-tailcalls -"use strict"; - -function f() { - return 1; -} - -function g() { - for (var v of [1, 2, 3]) { - return continue f() ; - } -} diff --git a/deps/v8/test/message/syntactic-tail-call-in-for-of.out b/deps/v8/test/message/syntactic-tail-call-in-for-of.out deleted file mode 100644 index 1bf52c48cb..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-in-for-of.out +++ /dev/null @@ -1,4 +0,0 @@ -*%(basename)s:14: SyntaxError: Tail call expression in for-in/of body - return continue f() ; - ^^^^^^^^^^^^ -SyntaxError: Tail call expression in for-in/of body diff --git a/deps/v8/test/message/syntactic-tail-call-in-logical-and.js b/deps/v8/test/message/syntactic-tail-call-in-logical-and.js deleted file mode 100644 index 2c62ddcb21..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-in-logical-and.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2016 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: --harmony-explicit-tailcalls -"use strict"; - -function f() { - return 1; -} - -function g() { - return continue f() && a ; -} diff --git a/deps/v8/test/message/syntactic-tail-call-in-logical-and.out b/deps/v8/test/message/syntactic-tail-call-in-logical-and.out deleted file mode 100644 index c400f74628..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-in-logical-and.out +++ /dev/null @@ -1,4 +0,0 @@ -*%(basename)s:13: SyntaxError: Tail call expression is not allowed here - return continue f() && a ; - ^^^^^^^^^^^^ -SyntaxError: Tail call expression is not allowed here diff --git a/deps/v8/test/message/syntactic-tail-call-in-logical-or.js b/deps/v8/test/message/syntactic-tail-call-in-logical-or.js deleted file mode 100644 index 6829bc629a..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-in-logical-or.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2016 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: --harmony-explicit-tailcalls -"use strict"; - -function f() { - return 1; -} - -function g() { - return continue f() || a ; -} diff --git a/deps/v8/test/message/syntactic-tail-call-in-logical-or.out b/deps/v8/test/message/syntactic-tail-call-in-logical-or.out deleted file mode 100644 index 4ced76118a..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-in-logical-or.out +++ /dev/null @@ -1,4 +0,0 @@ -*%(basename)s:13: SyntaxError: Tail call expression is not allowed here - return continue f() || a ; - ^^^^^^^^^^^^ -SyntaxError: Tail call expression is not allowed here diff --git a/deps/v8/test/message/syntactic-tail-call-in-subclass.js b/deps/v8/test/message/syntactic-tail-call-in-subclass.js deleted file mode 100644 index ab788406d2..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-in-subclass.js +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2016 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: --harmony-explicit-tailcalls -"use strict"; - -function g() { - class A {}; - class B extends A { - constructor() { - return continue f() ; - } - } -} diff --git a/deps/v8/test/message/syntactic-tail-call-in-subclass.out b/deps/v8/test/message/syntactic-tail-call-in-subclass.out deleted file mode 100644 index fff26cc59b..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-in-subclass.out +++ /dev/null @@ -1,4 +0,0 @@ -*%(basename)s:12: SyntaxError: Tail call expression is not allowed here - return continue f() ; - ^^^^^^^^^^^^ -SyntaxError: Tail call expression is not allowed here diff --git a/deps/v8/test/message/syntactic-tail-call-in-try-catch-finally.js b/deps/v8/test/message/syntactic-tail-call-in-try-catch-finally.js deleted file mode 100644 index 3aa35a12b4..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-in-try-catch-finally.js +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2016 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: --harmony-explicit-tailcalls -"use strict"; - -function f() { - return 1; -} - -function g() { - try { - f(); - } catch(e) { - return continue f() ; - } finally { - f(); - } -} diff --git a/deps/v8/test/message/syntactic-tail-call-in-try-catch-finally.out b/deps/v8/test/message/syntactic-tail-call-in-try-catch-finally.out deleted file mode 100644 index b488c15af2..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-in-try-catch-finally.out +++ /dev/null @@ -1,4 +0,0 @@ -*%(basename)s:16: SyntaxError: Tail call expression in catch block when finally block is also present - return continue f() ; - ^^^^^^^^^^^^ -SyntaxError: Tail call expression in catch block when finally block is also present diff --git a/deps/v8/test/message/syntactic-tail-call-in-try-try-catch-finally.js b/deps/v8/test/message/syntactic-tail-call-in-try-try-catch-finally.js deleted file mode 100644 index 5b000f1181..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-in-try-try-catch-finally.js +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright 2016 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: --harmony-explicit-tailcalls -"use strict"; - -function f() { - return 1; -} - -function g() { - try { - try { - f(); - } catch(e) { - return continue f() ; - } - } finally { - f(); - } -} diff --git a/deps/v8/test/message/syntactic-tail-call-in-try-try-catch-finally.out b/deps/v8/test/message/syntactic-tail-call-in-try-try-catch-finally.out deleted file mode 100644 index bfc2692a27..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-in-try-try-catch-finally.out +++ /dev/null @@ -1,4 +0,0 @@ -*%(basename)s:17: SyntaxError: Tail call expression in try block - return continue f() ; - ^^^^^^^^^^^^ -SyntaxError: Tail call expression in try block diff --git a/deps/v8/test/message/syntactic-tail-call-in-try.js b/deps/v8/test/message/syntactic-tail-call-in-try.js deleted file mode 100644 index 71662db877..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-in-try.js +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2016 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: --harmony-explicit-tailcalls -"use strict"; - -function f() { - return 1; -} - -function g() { - try { - return continue f() ; - } catch(e) { - } -} diff --git a/deps/v8/test/message/syntactic-tail-call-in-try.out b/deps/v8/test/message/syntactic-tail-call-in-try.out deleted file mode 100644 index ed0b15cc61..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-in-try.out +++ /dev/null @@ -1,4 +0,0 @@ -*%(basename)s:14: SyntaxError: Tail call expression in try block - return continue f() ; - ^^^^^^^^^^^^ -SyntaxError: Tail call expression in try block diff --git a/deps/v8/test/message/syntactic-tail-call-inside-member-expr.js b/deps/v8/test/message/syntactic-tail-call-inside-member-expr.js deleted file mode 100644 index 9b85dd42bb..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-inside-member-expr.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2016 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: --harmony-explicit-tailcalls -"use strict"; - -function f() { - return 1; -} - -function g() { - return (continue f(1)) (2) ; -} diff --git a/deps/v8/test/message/syntactic-tail-call-inside-member-expr.out b/deps/v8/test/message/syntactic-tail-call-inside-member-expr.out deleted file mode 100644 index 10fd54db5d..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-inside-member-expr.out +++ /dev/null @@ -1,4 +0,0 @@ -*%(basename)s:13: SyntaxError: Tail call expression is not allowed here - return (continue f(1)) (2) ; - ^^^^^^^^^^^^^^ -SyntaxError: Tail call expression is not allowed here diff --git a/deps/v8/test/message/syntactic-tail-call-of-eval.js b/deps/v8/test/message/syntactic-tail-call-of-eval.js deleted file mode 100644 index e69aa9c351..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-of-eval.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2016 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: --harmony-explicit-tailcalls - -function g() { - return continue eval ("f()") ; -} diff --git a/deps/v8/test/message/syntactic-tail-call-of-eval.out b/deps/v8/test/message/syntactic-tail-call-of-eval.out deleted file mode 100644 index 06eeb78baf..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-of-eval.out +++ /dev/null @@ -1,4 +0,0 @@ -*%(basename)s:8: SyntaxError: Tail call of a direct eval is not allowed - return continue eval ("f()") ; - ^^^^^^^^^^^^^ -SyntaxError: Tail call of a direct eval is not allowed diff --git a/deps/v8/test/message/syntactic-tail-call-of-identifier.js b/deps/v8/test/message/syntactic-tail-call-of-identifier.js deleted file mode 100644 index b3ca31df01..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-of-identifier.js +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2016 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: --harmony-explicit-tailcalls -"use strict"; - -function g(x) { - return continue x ; -} diff --git a/deps/v8/test/message/syntactic-tail-call-of-identifier.out b/deps/v8/test/message/syntactic-tail-call-of-identifier.out deleted file mode 100644 index 393bbc657c..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-of-identifier.out +++ /dev/null @@ -1,4 +0,0 @@ -*%(basename)s:9: SyntaxError: Unexpected expression inside tail call - return continue x ; - ^ -SyntaxError: Unexpected expression inside tail call diff --git a/deps/v8/test/message/syntactic-tail-call-of-new.js b/deps/v8/test/message/syntactic-tail-call-of-new.js deleted file mode 100644 index 60adec7027..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-of-new.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2016 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: --harmony-explicit-tailcalls - -function f() { - return 1; -} - -function g() { - return continue new f() ; -} diff --git a/deps/v8/test/message/syntactic-tail-call-of-new.out b/deps/v8/test/message/syntactic-tail-call-of-new.out deleted file mode 100644 index 954e1ca0ec..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-of-new.out +++ /dev/null @@ -1,4 +0,0 @@ -*%(basename)s:12: SyntaxError: Unexpected expression inside tail call - return continue new f() ; - ^^^^^^^ -SyntaxError: Unexpected expression inside tail call diff --git a/deps/v8/test/message/syntactic-tail-call-sloppy.js b/deps/v8/test/message/syntactic-tail-call-sloppy.js deleted file mode 100644 index 3973fc6d18..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-sloppy.js +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2016 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: --harmony-explicit-tailcalls - -function g() { - return continue f() ; -} diff --git a/deps/v8/test/message/syntactic-tail-call-sloppy.out b/deps/v8/test/message/syntactic-tail-call-sloppy.out deleted file mode 100644 index 74d9d53bb4..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-sloppy.out +++ /dev/null @@ -1,4 +0,0 @@ -*%(basename)s:8: SyntaxError: Tail call expressions are not allowed in non-strict mode - return continue f() ; - ^^^^^^^^^^^^^ -SyntaxError: Tail call expressions are not allowed in non-strict mode diff --git a/deps/v8/test/message/syntactic-tail-call-without-return.js b/deps/v8/test/message/syntactic-tail-call-without-return.js deleted file mode 100644 index 130f67dafc..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-without-return.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2016 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: --harmony-explicit-tailcalls -"use strict"; - -function f() { - return 1; -} - -function g() { - var x = continue f() ; -} diff --git a/deps/v8/test/message/syntactic-tail-call-without-return.out b/deps/v8/test/message/syntactic-tail-call-without-return.out deleted file mode 100644 index 0508fc3378..0000000000 --- a/deps/v8/test/message/syntactic-tail-call-without-return.out +++ /dev/null @@ -1,4 +0,0 @@ -*%(basename)s:13: SyntaxError: Tail call expression is not allowed here - var x = continue f() ; - ^^^^^^^^^^^^^ -SyntaxError: Tail call expression is not allowed here |