@@ -40,24 +40,17 @@ assert.strictEqual(
4040 inspect ( SIMD . Int8x16 ( ) ) ,
4141 'Int8x16 [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]' ) ;
4242
43- // The SIMD types below are not available in v5.
44- if ( typeof SIMD . Uint16x8 === 'function' ) {
45- assert . strictEqual (
46- inspect ( SIMD . Uint16x8 ( ) ) ,
47- 'Uint16x8 [ 0, 0, 0, 0, 0, 0, 0, 0 ]' ) ;
48- }
43+ assert . strictEqual (
44+ inspect ( SIMD . Uint16x8 ( ) ) ,
45+ 'Uint16x8 [ 0, 0, 0, 0, 0, 0, 0, 0 ]' ) ;
4946
50- if ( typeof SIMD . Uint32x4 === 'function' ) {
51- assert . strictEqual (
52- inspect ( SIMD . Uint32x4 ( ) ) ,
53- 'Uint32x4 [ 0, 0, 0, 0 ]' ) ;
54- }
47+ assert . strictEqual (
48+ inspect ( SIMD . Uint32x4 ( ) ) ,
49+ 'Uint32x4 [ 0, 0, 0, 0 ]' ) ;
5550
56- if ( typeof SIMD . Uint8x16 === 'function' ) {
57- assert . strictEqual (
58- inspect ( SIMD . Uint8x16 ( ) ) ,
59- 'Uint8x16 [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]' ) ;
60- }
51+ assert . strictEqual (
52+ inspect ( SIMD . Uint8x16 ( ) ) ,
53+ 'Uint8x16 [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]' ) ;
6154
6255// Tests from test-inspect.js that should not fail with --harmony_simd.
6356assert . strictEqual ( inspect ( [ ] ) , '[]' ) ;
0 commit comments