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

Unified Diff: test/message/syntactic-tail-call-of-identifier.js

Issue 1928203002: [es8] More spec compliant syntactic tail calls implementation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Some STC tests ported for PTC Created 4 years, 7 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
Index: test/message/syntactic-tail-call-of-identifier.js
diff --git a/test/message/syntactic-tail-call-in-try.js b/test/message/syntactic-tail-call-of-identifier.js
similarity index 68%
copy from test/message/syntactic-tail-call-in-try.js
copy to test/message/syntactic-tail-call-of-identifier.js
index 97eb4f757ab27e898e888078a46b80a8df61097a..58368266883d913b8e0a0a2fdcb724d037abb533 100644
--- a/test/message/syntactic-tail-call-in-try.js
+++ b/test/message/syntactic-tail-call-of-identifier.js
@@ -4,13 +4,6 @@
// Flags: --harmony-explicit-tailcalls
-function f() {
- return 1;
-}
-
-function g() {
- try {
- return continue f();
- } catch(e) {
- }
+function g(x) {
+ return continue x ;
}
« no previous file with comments | « test/message/syntactic-tail-call-inside-member-expr.out ('k') | test/message/syntactic-tail-call-of-identifier.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698