| OLD | NEW | 
|   1 // Copyright 2016 the V8 project authors. All rights reserved. |   1 // Copyright 2016 the V8 project authors. All rights reserved. | 
|   2 // Use of this source code is governed by a BSD-style license that can be |   2 // Use of this source code is governed by a BSD-style license that can be | 
|   3 // found in the LICENSE file. |   3 // found in the LICENSE file. | 
|   4  |   4  | 
|   5 // Flags: --harmony-types |   5 // Flags: --harmony-types | 
|   6  |   6  | 
|   7  |   7  | 
|   8 load("test/mjsunit/harmony/typesystem/typegen.js"); |   8 load("test/mjsunit/harmony/typesystem/typegen.js"); | 
|   9  |   9  | 
|  10  |  10  | 
|  11 // In all the following functions, the size parameter (positive integer) |  11 // In all the following functions, the size parameter (positive integer) | 
|  12 // denotes how many test cases will be tried.  The variable test_size |  12 // denotes how many test cases will be tried.  The variable test_size | 
|  13 // controls execution time of this test.  It should not be too high. |  13 // controls execution time of this test.  It should not be too high. | 
|  14 let test_size = 1000; |  14 let test_size = 1000; | 
|  15  |  15  | 
|  16  |  16  | 
|  17 (function TestTupleTypes(size) { |  17 (function TestObjectTypes(size) { | 
|  18   Test(size, [ |  18   Test(size, [ | 
|  19     new TestGen(4, ValidTupleTypes, [CheckValid]), |  19     new TestGen(4, ValidObjectTypes, [CheckValid]), | 
|  20     new TestGen(1, InvalidTupleTypes, [CheckInvalid]) |  20     new TestGen(1, InvalidObjectTypes, [CheckInvalid]) | 
|  21   ]); |  21   ]); | 
|  22 })(test_size); |  22 })(test_size); | 
| OLD | NEW |