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

Unified Diff: test/mjsunit/regress/regress-334.js

Issue 351853005: Split SetProperty(...attributes, strictmode) into AddProperty(...attributes) and SetProperty(...… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | « test/mjsunit/regress/regress-1199637.js ('k') | test/mjsunit/regress/regress-cntl-descriptors-enum.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-334.js
diff --git a/test/mjsunit/regress/regress-334.js b/test/mjsunit/regress/regress-334.js
index 37dd299cf5895e5864bda24303e0be7e8e7ad0ec..2a001d3c2fc2a71a46c76294ee0f73b9baf1e5a7 100644
--- a/test/mjsunit/regress/regress-334.js
+++ b/test/mjsunit/regress/regress-334.js
@@ -37,10 +37,10 @@ function func1(){}
function func2(){}
var object = {__proto__:{}};
-%SetProperty(object, "foo", func1, DONT_ENUM | DONT_DELETE);
-%SetProperty(object, "bar", func1, DONT_ENUM | READ_ONLY);
-%SetProperty(object, "baz", func1, DONT_DELETE | READ_ONLY);
-%SetProperty(object.__proto__, "bif", func1, DONT_ENUM | DONT_DELETE);
+%AddProperty(object, "foo", func1, DONT_ENUM | DONT_DELETE);
+%AddProperty(object, "bar", func1, DONT_ENUM | READ_ONLY);
+%AddProperty(object, "baz", func1, DONT_DELETE | READ_ONLY);
+%AddProperty(object.__proto__, "bif", func1, DONT_ENUM | DONT_DELETE);
object.bif = func2;
function enumerable(obj) {
« no previous file with comments | « test/mjsunit/regress/regress-1199637.js ('k') | test/mjsunit/regress/regress-cntl-descriptors-enum.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698