Skip to content

Commit

Permalink
Improve metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
leobalter committed Oct 9, 2019
1 parent 1c26f3f commit 5c35ce9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 19 deletions.
19 changes: 0 additions & 19 deletions test/language/expressions/coalesce/tco-cond.js

This file was deleted.

7 changes: 7 additions & 0 deletions test/language/expressions/coalesce/tco-pos-null.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
description: Expression is a candidate for tail-call optimization.
esid: sec-static-semantics-hascallintailposition
info: |
Expression Rules
CoalesceExpression : CoalesceExpressionHead ?? BitwiseORExpression
1. Return HasCallInTailPosition of BitwiseORExpression with argument call.
flags: [onlyStrict]
features: [tail-call-optimization, coalesce-expression]
includes: [tcoHelper.js]
Expand Down
7 changes: 7 additions & 0 deletions test/language/expressions/coalesce/tco-pos-undefined.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
description: Expression is a candidate for tail-call optimization.
esid: sec-static-semantics-hascallintailposition
info: |
Expression Rules
CoalesceExpression : CoalesceExpressionHead ?? BitwiseORExpression
1. Return HasCallInTailPosition of BitwiseORExpression with argument call.
flags: [onlyStrict]
features: [tail-call-optimization, coalesce-expression]
includes: [tcoHelper.js]
Expand Down

0 comments on commit 5c35ce9

Please sign in to comment.