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

Unified Diff: test/mjsunit/regress/regress-crbug-498022.js

Issue 1214483008: Fix clobbered register when setting this_function variable. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed think'o. Created 5 years, 6 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 | « src/x87/full-codegen-x87.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-crbug-498022.js
diff --git a/test/mjsunit/es6/regress/regress-455141.js b/test/mjsunit/regress/regress-crbug-498022.js
similarity index 63%
copy from test/mjsunit/es6/regress/regress-455141.js
copy to test/mjsunit/regress/regress-crbug-498022.js
index 676adebe72b5532496112099d7cd41ccca395070..cb8e0a460df7ed1189ccfa2781754f446b752b3f 100644
--- a/test/mjsunit/es6/regress/regress-455141.js
+++ b/test/mjsunit/regress/regress-crbug-498022.js
@@ -1,15 +1,15 @@
// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-//
-// Flags: --no-lazy
+
+// Flags: --debug-code --nouse-gvn
+
"use strict";
class Base {
}
-class Subclass extends Base {
+class Derived extends Base {
constructor() {
- this.prp1 = 3;
+ eval();
}
}
-function __f_1(){
-}
+assertThrows("new Derived()", ReferenceError);
« no previous file with comments | « src/x87/full-codegen-x87.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698