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

Unified Diff: test/mjsunit/es6/tail-call-simple.js

Issue 1698273003: [es6] [interpreter] Add tail calls support to Ignition. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@tco-turbo-2
Patch Set: Fixed Bytecodes::IsCallOrNew() Created 4 years, 10 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/cctest/interpreter/test-interpreter.cc ('k') | test/mjsunit/mjsunit.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/es6/tail-call-simple.js
diff --git a/test/mjsunit/es6/tail-call-simple.js b/test/mjsunit/es6/tail-call-simple.js
index ad6f7cd78ceb8924b539a572689a125ef8aa1bf7..d2890b0212d92044dd0099cdd4f24859d505dc98 100644
--- a/test/mjsunit/es6/tail-call-simple.js
+++ b/test/mjsunit/es6/tail-call-simple.js
@@ -14,9 +14,9 @@
}
return f(n - 1);
}
- assertThrows(()=>{ f(1e6) });
+ assertThrows(()=>{ f(1e5) });
%OptimizeFunctionOnNextCall(f);
- assertThrows(()=>{ f(1e6) });
+ assertThrows(()=>{ f(1e5) });
})();
@@ -31,9 +31,9 @@
}
return f(n - 1);
}
- assertEquals("foo", f(1e6));
+ assertEquals("foo", f(1e5));
%OptimizeFunctionOnNextCall(f);
- assertEquals("foo", f(1e6));
+ assertEquals("foo", f(1e5));
})();
@@ -51,11 +51,11 @@
}
return f(n - 1);
}
- assertEquals("foo", f(1e6));
- assertEquals("bar", f(1e6 + 1));
+ assertEquals("foo", f(1e5));
+ assertEquals("bar", f(1e5 + 1));
%OptimizeFunctionOnNextCall(f);
- assertEquals("foo", f(1e6));
- assertEquals("bar", f(1e6 + 1));
+ assertEquals("foo", f(1e5));
+ assertEquals("bar", f(1e5 + 1));
})();
@@ -74,9 +74,9 @@
function f(n) {
return f_bound(n);
}
- assertEquals("foo", f(1e6));
+ assertEquals("foo", f(1e5));
%OptimizeFunctionOnNextCall(f);
- assertEquals("foo", f(1e6));
+ assertEquals("foo", f(1e5));
})();
@@ -99,9 +99,9 @@
function f(n) {
return f_bound(n);
}
- assertEquals("foo", f(1e6));
- assertEquals("bar", f(1e6 + 1));
+ assertEquals("foo", f(1e5));
+ assertEquals("bar", f(1e5 + 1));
%OptimizeFunctionOnNextCall(f);
- assertEquals("foo", f(1e6));
- assertEquals("bar", f(1e6 + 1));
+ assertEquals("foo", f(1e5));
+ assertEquals("bar", f(1e5 + 1));
})();
« no previous file with comments | « test/cctest/interpreter/test-interpreter.cc ('k') | test/mjsunit/mjsunit.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698