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

Unified Diff: test/mjsunit/runtime-gen/addproperty.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
Index: test/mjsunit/runtime-gen/addproperty.js
diff --git a/test/mjsunit/runtime-gen/ignoreattributesandsetproperty.js b/test/mjsunit/runtime-gen/addproperty.js
similarity index 65%
rename from test/mjsunit/runtime-gen/ignoreattributesandsetproperty.js
rename to test/mjsunit/runtime-gen/addproperty.js
index 0c828092a23777d5e228029b10e2ada679e6d094..48b985d094ed245ef53695341583cd6b197c250c 100644
--- a/test/mjsunit/runtime-gen/ignoreattributesandsetproperty.js
+++ b/test/mjsunit/runtime-gen/addproperty.js
@@ -2,7 +2,7 @@
// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY
// Flags: --allow-natives-syntax --harmony
var _object = new Object();
-var _name = "name";
+var arg1 = 10;
var _value = new Object();
-var _unchecked_value = 1;
-%IgnoreAttributesAndSetProperty(_object, _name, _value, _unchecked_value);
+var _unchecked_attributes = 1;
+%AddProperty(_object, arg1, _value, _unchecked_attributes);
« no previous file with comments | « test/mjsunit/regress/regress-cntl-descriptors-enum.js ('k') | test/mjsunit/runtime-gen/defineaccessorpropertyunchecked.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698