Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(396)

Unified Diff: test/mjsunit/strict-mode.js

Issue 1818063002: Disable ES6 tail call elimination for native functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/function-caller.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/strict-mode.js
diff --git a/test/mjsunit/strict-mode.js b/test/mjsunit/strict-mode.js
index 63dc9d0bda829b631e9d0d667ced454b871bc7d9..f7f95da88c99592e792e9e6b45b13d2ce4b1c545 100644
--- a/test/mjsunit/strict-mode.js
+++ b/test/mjsunit/strict-mode.js
@@ -1149,7 +1149,7 @@ function CheckArgumentsPillDescriptor(func, name) {
function strict() {
"use strict";
- // Returning result via local variable to avoid tail call optimization.
+ // Returning result via local variable to avoid tail call elimination.
var res = return_my_caller();
return res;
}
@@ -1165,7 +1165,7 @@ function CheckArgumentsPillDescriptor(func, name) {
(function TestNonStrictFunctionCallerPill() {
function strict(n) {
"use strict";
- // Returning result via local variable to avoid tail call optimization.
+ // Returning result via local variable to avoid tail call elimination.
var res = non_strict(n);
return res;
}
@@ -1195,7 +1195,7 @@ function CheckArgumentsPillDescriptor(func, name) {
(function TestNonStrictFunctionCallerDescriptorPill() {
function strict(n) {
"use strict";
- // Returning result via local variable to avoid tail call optimization.
+ // Returning result via local variable to avoid tail call elimination.
var res = non_strict(n);
return res;
}
« no previous file with comments | « test/mjsunit/function-caller.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698