@@ -40,24 +40,17 @@ assert.strictEqual(
40
40
inspect ( SIMD . Int8x16 ( ) ) ,
41
41
'Int8x16 [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]' ) ;
42
42
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 ]' ) ;
49
46
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 ]' ) ;
55
50
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 ]' ) ;
61
54
62
55
// Tests from test-inspect.js that should not fail with --harmony_simd.
63
56
assert . strictEqual ( inspect ( [ ] ) , '[]' ) ;
0 commit comments