OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY | 2 // AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY |
3 // Flags: --allow-natives-syntax --harmony | 3 // Flags: --allow-natives-syntax --harmony |
| 4 var _holder = new DataView(new ArrayBuffer(24)); |
| 5 var _offset = 1.5; |
4 var _value = 1.5; | 6 var _value = 1.5; |
5 var _f_number = 1.5; | 7 var _is_little_endian = true; |
6 %NumberToExponential(_value, _f_number); | 8 %DataViewSetInt32(_holder, _offset, _value, _is_little_endian); |
OLD | NEW |