Chromium Code Reviews

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

Issue 250923002: Add test case generator for runtime functions (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 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/weakcollectionhas.js
diff --git a/test/mjsunit/runtime-gen/weakcollectionhas.js b/test/mjsunit/runtime-gen/weakcollectionhas.js
new file mode 100644
index 0000000000000000000000000000000000000000..d563075d59e5c4dd09a44126d47750016b728202
--- /dev/null
+++ b/test/mjsunit/runtime-gen/weakcollectionhas.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 _weak_collection = new WeakMap();
+var _key = new Object();
+%WeakCollectionHas(_weak_collection, _key);

Powered by Google App Engine