Index: test/mjsunit/regress/regress-cntl-descriptors-enum.js |
diff --git a/test/mjsunit/regress/regress-cntl-descriptors-enum.js b/test/mjsunit/regress/regress-cntl-descriptors-enum.js |
index 861ab2739381af15384ab95b4274569f9974bffc..fd4ac6d6c0f2e0d88a95fedcceb346bdb4d27442 100644 |
--- a/test/mjsunit/regress/regress-cntl-descriptors-enum.js |
+++ b/test/mjsunit/regress/regress-cntl-descriptors-enum.js |
@@ -30,10 +30,10 @@ |
DontEnum = 2; |
var o = {}; |
-%AddProperty(o, "a", 0, DontEnum); |
+%AddNamedProperty(o, "a", 0, DontEnum); |
var o2 = {}; |
-%AddProperty(o2, "a", 0, DontEnum); |
+%AddNamedProperty(o2, "a", 0, DontEnum); |
assertTrue(%HaveSameMap(o, o2)); |