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

Unified Diff: test/mjsunit/harmony/class-fields-arguments.js

Issue 2330473002: Class fields, part 3 (backends)
Patch Set: bytecode test Created 4 years, 3 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/mjsunit/harmony/class-fields-arguments.js
diff --git a/test/message/syntactic-tail-call-in-for-in.js b/test/mjsunit/harmony/class-fields-arguments.js
similarity index 52%
copy from test/message/syntactic-tail-call-in-for-in.js
copy to test/mjsunit/harmony/class-fields-arguments.js
index 8ad7aca54a886b52920dcebfa6a458c0edf72f95..133957b4c1706c7db0d601a1c774e5f0f5a2fbd8 100644
--- a/test/message/syntactic-tail-call-in-for-in.js
+++ b/test/mjsunit/harmony/class-fields-arguments.js
@@ -2,15 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Flags: --harmony-explicit-tailcalls
-"use strict";
+// Flags: --harmony-class-fields
-function f() {
- return 1;
-}
-
-function g() {
- for (var v in {a:0}) {
- return continue f() ;
+{
+ class C {
+ a = (arguments[0] = 0, assertEquals(0, arguments[0]));
+ b = assertEquals(arguments[0], undefined);
}
+
+ new C;
}
« no previous file with comments | « test/cctest/interpreter/test-bytecode-generator.cc ('k') | test/mjsunit/harmony/class-fields-async-syntax.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698