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

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

Issue 290513002: Expand C++ macros in tools/generate-runtime-tests.py to increase coverage (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: formatting Created 6 years, 7 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 | « test/mjsunit/runtime-gen/dataviewsetint32.js ('k') | test/mjsunit/runtime-gen/dataviewsetuint16.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/runtime-gen/dataviewsetint8.js
diff --git a/test/mjsunit/runtime-gen/numbertoexponential.js b/test/mjsunit/runtime-gen/dataviewsetint8.js
similarity index 54%
copy from test/mjsunit/runtime-gen/numbertoexponential.js
copy to test/mjsunit/runtime-gen/dataviewsetint8.js
index 21468b435d00f46ece3ec6502540c9b5ecdb6c3a..9990c4ba81ff379dc51f8700ae0b43e4247d44ec 100644
--- a/test/mjsunit/runtime-gen/numbertoexponential.js
+++ b/test/mjsunit/runtime-gen/dataviewsetint8.js
@@ -1,6 +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 DataView(new ArrayBuffer(24));
+var _offset = 1.5;
var _value = 1.5;
-var _f_number = 1.5;
-%NumberToExponential(_value, _f_number);
+var _is_little_endian = true;
+%DataViewSetInt8(_holder, _offset, _value, _is_little_endian);
« no previous file with comments | « test/mjsunit/runtime-gen/dataviewsetint32.js ('k') | test/mjsunit/runtime-gen/dataviewsetuint16.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698