Index: test/mjsunit/regress/regress-1119.js |
diff --git a/test/mjsunit/regress/regress-1119.js b/test/mjsunit/regress/regress-1119.js |
index 16b2e4f93578d449b830e24538c44967954a0eda..44fc3f5baf879f683f38693a51c83d0cbc20de6f 100644 |
--- a/test/mjsunit/regress/regress-1119.js |
+++ b/test/mjsunit/regress/regress-1119.js |
@@ -28,8 +28,8 @@ |
// Test runtime declaration of properties with var which are intercepted |
// by JS accessors. |
-__proto__.__defineSetter__("x", function() { hasBeenInvoked = true; }); |
-__proto__.__defineSetter__("y", function() { throw 'exception'; }); |
+this.__defineSetter__("x", function() { hasBeenInvoked = true; }); |
+this.__defineSetter__("y", function() { throw 'exception'; }); |
var hasBeenInvoked = false; |
eval("try { } catch (e) { var x = false; }"); |