Chromium Code Reviews

Unified Diff: test/mjsunit/runtime-gen/typedarrayinitializefromarraylike.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/typedarrayinitializefromarraylike.js
diff --git a/test/mjsunit/runtime-gen/typedarrayinitializefromarraylike.js b/test/mjsunit/runtime-gen/typedarrayinitializefromarraylike.js
new file mode 100644
index 0000000000000000000000000000000000000000..73ef770c54a62d55d023cb9179366fa0a69c3d41
--- /dev/null
+++ b/test/mjsunit/runtime-gen/typedarrayinitializefromarraylike.js
@@ -0,0 +1,8 @@
+// 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 _holder = new Int32Array(2);
+var _arrayId = 1;
+var _source = new Object();
+var _length_obj = 1.5;
+%TypedArrayInitializeFromArrayLike(_holder, _arrayId, _source, _length_obj);

Powered by Google App Engine