| Index: test/mjsunit/setter-on-constructor-prototype.js
|
| diff --git a/test/mjsunit/setter-on-constructor-prototype.js b/test/mjsunit/setter-on-constructor-prototype.js
|
| index a74f7da7b36fbb8233643961a3b1892edf1f8c45..9bafaa55824ae8fabc5ae598b07d044dd7cd5069 100644
|
| --- a/test/mjsunit/setter-on-constructor-prototype.js
|
| +++ b/test/mjsunit/setter-on-constructor-prototype.js
|
| @@ -30,7 +30,7 @@
|
| function RunTest(ensure_fast_case) {
|
| function C1() {
|
| this.x = 23;
|
| - };
|
| + }
|
| C1.prototype = { set x(value) { this.y = 23; } };
|
| if (ensure_fast_case) {
|
| %ToFastProperties(C1.prototype);
|
| @@ -45,11 +45,11 @@ function RunTest(ensure_fast_case) {
|
|
|
| function C2() {
|
| this.x = 23;
|
| - };
|
| + }
|
| C2.prototype = { };
|
| C2.prototype.__proto__ = { set x(value) { this.y = 23; } };
|
| if (ensure_fast_case) {
|
| - %ToFastProperties(C2.prototype.__proto__)
|
| + %ToFastProperties(C2.prototype.__proto__);
|
| }
|
|
|
| for (var i = 0; i < 10; i++) {
|
| @@ -61,7 +61,7 @@ function RunTest(ensure_fast_case) {
|
|
|
| function C3() {
|
| this.x = 23;
|
| - };
|
| + }
|
| C3.prototype = { };
|
| C3.prototype.__defineSetter__('x', function(value) { this.y = 23; });
|
| if (ensure_fast_case) {
|
| @@ -77,7 +77,7 @@ function RunTest(ensure_fast_case) {
|
|
|
| function C4() {
|
| this.x = 23;
|
| - };
|
| + }
|
| C4.prototype = { };
|
| C4.prototype.__proto__ = { };
|
| C4.prototype.__proto__.__defineSetter__('x', function(value) { this.y = 23; });
|
| @@ -94,7 +94,7 @@ function RunTest(ensure_fast_case) {
|
|
|
| function D() {
|
| this.x = 23;
|
| - };
|
| + }
|
| D.prototype = 1;
|
| if (ensure_fast_case) {
|
| %ToFastProperties(D.prototype);
|
|
|