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

Unified Diff: test/mjsunit/regress/regress-crbug-714981.js

Issue 2854373002: Move delete-last-fast-property code from CSA to C++ (Closed)
Patch Set: addressed comments Created 3 years, 8 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 | « src/runtime/runtime-object.cc ('k') | test/mjsunit/regress/regress-crbug-716912.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-crbug-714981.js
diff --git a/test/mjsunit/regress/regress-crbug-714981.js b/test/mjsunit/regress/regress-crbug-714981.js
new file mode 100644
index 0000000000000000000000000000000000000000..e6a664d422484b0f7ba315455e235d64c507c7b7
--- /dev/null
+++ b/test/mjsunit/regress/regress-crbug-714981.js
@@ -0,0 +1,32 @@
+// Copyright 2017 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+function addProperties(o)
+{
+ o.p1 = 1;
+ o.p2 = 2;
+ o.p3 = 3;
+ o.p4 = 4;
+ o.p5 = 5;
+ o.p6 = 6;
+ o.p7 = 7;
+ o.p8 = 8;
+}
+function removeProperties(o)
+{
+ delete o.p8;
+ delete o.p7;
+ delete o.p6;
+ delete o.p5;
+}
+function makeO()
+{
+ var o = { };
+ addProperties(o);
+ removeProperties(o);
+ addProperties(o);
+}
+for (var i = 0; i < 3; ++i) {
+ o = makeO();
+}
« no previous file with comments | « src/runtime/runtime-object.cc ('k') | test/mjsunit/regress/regress-crbug-716912.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698