From 6f357e5a6ca28eb394bf229b6e1bd67f4a41b65d Mon Sep 17 00:00:00 2001 From: Ron Buckton Date: Thu, 4 May 2017 13:33:28 -0700 Subject: [PATCH] Update baselines --- ...mitter.asyncGenerators.classMethods.es5.js | 42 +++++++++---------- ...syncGenerators.functionDeclarations.es5.js | 42 +++++++++---------- ...asyncGenerators.functionExpressions.es5.js | 42 +++++++++---------- ...syncGenerators.objectLiteralMethods.es5.js | 42 +++++++++---------- 4 files changed, 76 insertions(+), 92 deletions(-) diff --git a/tests/baselines/reference/emitter.asyncGenerators.classMethods.es5.js b/tests/baselines/reference/emitter.asyncGenerators.classMethods.es5.js index 4d78db84c03..1fa1b19e36f 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.classMethods.es5.js +++ b/tests/baselines/reference/emitter.asyncGenerators.classMethods.es5.js @@ -293,15 +293,13 @@ var C4 = (function () { } C4.prototype.f = function () { return __asyncGenerator(this, arguments, function f_1() { - var x, _a; - return __generator(this, function (_b) { - switch (_b.label) { - case 0: - _a = __await; - return [5 /*yield**/, __values(__asyncDelegator(__asyncValues([1])))]; - case 1: return [4 /*yield*/, _a.apply(void 0, [_b.sent()])]; + var x; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [5 /*yield**/, __values(__asyncDelegator(__asyncValues([1])))]; + case 1: return [4 /*yield*/, __await.apply(void 0, [_a.sent()])]; case 2: - x = _b.sent(); + x = _a.sent(); return [2 /*return*/]; } }); @@ -374,22 +372,20 @@ var C5 = (function () { } C5.prototype.f = function () { return __asyncGenerator(this, arguments, function f_1() { - var x, _a; - return __generator(this, function (_b) { - switch (_b.label) { - case 0: - _a = __await; - return [5 /*yield**/, __values(__asyncDelegator(__asyncValues((function () { return __asyncGenerator(this, arguments, function () { return __generator(this, function (_a) { - switch (_a.label) { - case 0: return [4 /*yield*/, 1]; - case 1: - _a.sent(); - return [2 /*return*/]; - } - }); }); })())))]; - case 1: return [4 /*yield*/, _a.apply(void 0, [_b.sent()])]; + var x; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [5 /*yield**/, __values(__asyncDelegator(__asyncValues((function () { return __asyncGenerator(this, arguments, function () { return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, 1]; + case 1: + _a.sent(); + return [2 /*return*/]; + } + }); }); })())))]; + case 1: return [4 /*yield*/, __await.apply(void 0, [_a.sent()])]; case 2: - x = _b.sent(); + x = _a.sent(); return [2 /*return*/]; } }); diff --git a/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es5.js b/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es5.js index c5b09b216d5..f842a2c813a 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es5.js +++ b/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es5.js @@ -244,15 +244,13 @@ var __values = (this && this.__values) || function (o) { }; function f4() { return __asyncGenerator(this, arguments, function f4_1() { - var x, _a; - return __generator(this, function (_b) { - switch (_b.label) { - case 0: - _a = __await; - return [5 /*yield**/, __values(__asyncDelegator(__asyncValues([1])))]; - case 1: return [4 /*yield*/, _a.apply(void 0, [_b.sent()])]; + var x; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [5 /*yield**/, __values(__asyncDelegator(__asyncValues([1])))]; + case 1: return [4 /*yield*/, __await.apply(void 0, [_a.sent()])]; case 2: - x = _b.sent(); + x = _a.sent(); return [2 /*return*/]; } }); @@ -320,22 +318,20 @@ var __values = (this && this.__values) || function (o) { }; function f5() { return __asyncGenerator(this, arguments, function f5_1() { - var x, _a; - return __generator(this, function (_b) { - switch (_b.label) { - case 0: - _a = __await; - return [5 /*yield**/, __values(__asyncDelegator(__asyncValues((function () { return __asyncGenerator(this, arguments, function () { return __generator(this, function (_a) { - switch (_a.label) { - case 0: return [4 /*yield*/, 1]; - case 1: - _a.sent(); - return [2 /*return*/]; - } - }); }); })())))]; - case 1: return [4 /*yield*/, _a.apply(void 0, [_b.sent()])]; + var x; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [5 /*yield**/, __values(__asyncDelegator(__asyncValues((function () { return __asyncGenerator(this, arguments, function () { return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, 1]; + case 1: + _a.sent(); + return [2 /*return*/]; + } + }); }); })())))]; + case 1: return [4 /*yield*/, __await.apply(void 0, [_a.sent()])]; case 2: - x = _b.sent(); + x = _a.sent(); return [2 /*return*/]; } }); diff --git a/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es5.js b/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es5.js index 7a40ba1808f..779d9c5340e 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es5.js +++ b/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es5.js @@ -244,15 +244,13 @@ var __values = (this && this.__values) || function (o) { }; var f4 = function () { return __asyncGenerator(this, arguments, function () { - var x, _a; - return __generator(this, function (_b) { - switch (_b.label) { - case 0: - _a = __await; - return [5 /*yield**/, __values(__asyncDelegator(__asyncValues([1])))]; - case 1: return [4 /*yield*/, _a.apply(void 0, [_b.sent()])]; + var x; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [5 /*yield**/, __values(__asyncDelegator(__asyncValues([1])))]; + case 1: return [4 /*yield*/, __await.apply(void 0, [_a.sent()])]; case 2: - x = _b.sent(); + x = _a.sent(); return [2 /*return*/]; } }); @@ -320,22 +318,20 @@ var __values = (this && this.__values) || function (o) { }; var f5 = function () { return __asyncGenerator(this, arguments, function () { - var x, _a; - return __generator(this, function (_b) { - switch (_b.label) { - case 0: - _a = __await; - return [5 /*yield**/, __values(__asyncDelegator(__asyncValues((function () { return __asyncGenerator(this, arguments, function () { return __generator(this, function (_a) { - switch (_a.label) { - case 0: return [4 /*yield*/, 1]; - case 1: - _a.sent(); - return [2 /*return*/]; - } - }); }); })())))]; - case 1: return [4 /*yield*/, _a.apply(void 0, [_b.sent()])]; + var x; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [5 /*yield**/, __values(__asyncDelegator(__asyncValues((function () { return __asyncGenerator(this, arguments, function () { return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, 1]; + case 1: + _a.sent(); + return [2 /*return*/]; + } + }); }); })())))]; + case 1: return [4 /*yield*/, __await.apply(void 0, [_a.sent()])]; case 2: - x = _b.sent(); + x = _a.sent(); return [2 /*return*/]; } }); diff --git a/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es5.js b/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es5.js index a76028b028e..46f3a1efac2 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es5.js +++ b/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es5.js @@ -265,15 +265,13 @@ var __values = (this && this.__values) || function (o) { var o4 = { f: function () { return __asyncGenerator(this, arguments, function f_1() { - var x, _a; - return __generator(this, function (_b) { - switch (_b.label) { - case 0: - _a = __await; - return [5 /*yield**/, __values(__asyncDelegator(__asyncValues([1])))]; - case 1: return [4 /*yield*/, _a.apply(void 0, [_b.sent()])]; + var x; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [5 /*yield**/, __values(__asyncDelegator(__asyncValues([1])))]; + case 1: return [4 /*yield*/, __await.apply(void 0, [_a.sent()])]; case 2: - x = _b.sent(); + x = _a.sent(); return [2 /*return*/]; } }); @@ -343,22 +341,20 @@ var __values = (this && this.__values) || function (o) { var o5 = { f: function () { return __asyncGenerator(this, arguments, function f_1() { - var x, _a; - return __generator(this, function (_b) { - switch (_b.label) { - case 0: - _a = __await; - return [5 /*yield**/, __values(__asyncDelegator(__asyncValues((function () { return __asyncGenerator(this, arguments, function () { return __generator(this, function (_a) { - switch (_a.label) { - case 0: return [4 /*yield*/, 1]; - case 1: - _a.sent(); - return [2 /*return*/]; - } - }); }); })())))]; - case 1: return [4 /*yield*/, _a.apply(void 0, [_b.sent()])]; + var x; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [5 /*yield**/, __values(__asyncDelegator(__asyncValues((function () { return __asyncGenerator(this, arguments, function () { return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, 1]; + case 1: + _a.sent(); + return [2 /*return*/]; + } + }); }); })())))]; + case 1: return [4 /*yield*/, __await.apply(void 0, [_a.sent()])]; case 2: - x = _b.sent(); + x = _a.sent(); return [2 /*return*/]; } });