Chromium Code Reviews

Unified Diff: test/mjsunit/runtime-gen/optimizeobjectforaddingmultipleproperties.js

Issue 250923002: Add test case generator for runtime functions (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebased Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: test/mjsunit/runtime-gen/optimizeobjectforaddingmultipleproperties.js
diff --git a/test/mjsunit/runtime-gen/optimizeobjectforaddingmultipleproperties.js b/test/mjsunit/runtime-gen/optimizeobjectforaddingmultipleproperties.js
new file mode 100644
index 0000000000000000000000000000000000000000..f394fbfe44e85703eec9d43e31720f37eb31cd4f
--- /dev/null
+++ b/test/mjsunit/runtime-gen/optimizeobjectforaddingmultipleproperties.js
@@ -0,0 +1,6 @@
+// Copyright 2014 the V8 project authors. All rights reserved.
+// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY
+// Flags: --allow-natives-syntax --harmony
+var _object = new Object();
+var _properties = 1;
+%OptimizeObjectForAddingMultipleProperties(_object, _properties);

Powered by Google App Engine