OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright 2014 the V8 project authors. All rights reserved. | 2 # Copyright 2014 the V8 project authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 import itertools | 6 import itertools |
7 import js2c | 7 import js2c |
8 import multiprocessing | 8 import multiprocessing |
9 import optparse | 9 import optparse |
10 import os | 10 import os |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 "InternalDateFormat": [_DATETIME_FORMAT, None, None], | 151 "InternalDateFormat": [_DATETIME_FORMAT, None, None], |
152 "InternalDateParse": [_DATETIME_FORMAT, None, None], | 152 "InternalDateParse": [_DATETIME_FORMAT, None, None], |
153 "InternalNumberFormat": [_NUMBER_FORMAT, None, None], | 153 "InternalNumberFormat": [_NUMBER_FORMAT, None, None], |
154 "InternalNumberParse": [_NUMBER_FORMAT, None, None], | 154 "InternalNumberParse": [_NUMBER_FORMAT, None, None], |
155 "IsSloppyModeFunction": ["function() {}", None], | 155 "IsSloppyModeFunction": ["function() {}", None], |
156 "LoadMutableDouble": ["{foo: 1.2}", None, None], | 156 "LoadMutableDouble": ["{foo: 1.2}", None, None], |
157 "NewObjectFromBound": ["(function() {}).bind({})", None], | 157 "NewObjectFromBound": ["(function() {}).bind({})", None], |
158 "NumberToRadixString": [None, "2", None], | 158 "NumberToRadixString": [None, "2", None], |
159 "ParseJson": ["\"{}\"", 1], | 159 "ParseJson": ["\"{}\"", 1], |
160 "RegExpExecMultiple": [None, None, "['a']", "['a']", None], | 160 "RegExpExecMultiple": [None, None, "['a']", "['a']", None], |
161 "SetAccessorProperty": [None, None, "undefined", "undefined", None, None, | 161 "SetAccessorProperty": [None, None, "undefined", "undefined", None, None], |
162 None], | |
163 "SetIteratorInitialize": [None, None, "2", None], | 162 "SetIteratorInitialize": [None, None, "2", None], |
164 "SetDebugEventListener": ["undefined", None, None], | 163 "SetDebugEventListener": ["undefined", None, None], |
165 "SetFunctionBreakPoint": [None, 200, None, None], | 164 "SetFunctionBreakPoint": [None, 200, None, None], |
166 "StringBuilderConcat": ["[1, 2, 3]", 3, None, None], | 165 "StringBuilderConcat": ["[1, 2, 3]", 3, None, None], |
167 "StringBuilderJoin": ["['a', 'b']", 4, None, None], | 166 "StringBuilderJoin": ["['a', 'b']", 4, None, None], |
168 "StringMatch": [None, None, "['a', 'b']", None], | 167 "StringMatch": [None, None, "['a', 'b']", None], |
169 "StringNormalize": [None, 2, None], | 168 "StringNormalize": [None, 2, None], |
170 "StringReplaceGlobalRegExpWithString": [None, None, None, "['a']", None], | 169 "StringReplaceGlobalRegExpWithString": [None, None, None, "['a']", None], |
171 "TypedArrayInitialize": [None, 6, "new ArrayBuffer(8)", None, 4, None], | 170 "TypedArrayInitialize": [None, 6, "new ArrayBuffer(8)", None, 4, None], |
172 "TypedArrayInitializeFromArrayLike": [None, 6, None, None, None], | 171 "TypedArrayInitializeFromArrayLike": [None, 6, None, None, None], |
(...skipping 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1314 for i in range(len(processes)): | 1313 for i in range(len(processes)): |
1315 processes[i].join() | 1314 processes[i].join() |
1316 except KeyboardInterrupt: | 1315 except KeyboardInterrupt: |
1317 stop_running.set() | 1316 stop_running.set() |
1318 for i in range(len(processes)): | 1317 for i in range(len(processes)): |
1319 processes[i].join() | 1318 processes[i].join() |
1320 return 0 | 1319 return 0 |
1321 | 1320 |
1322 if __name__ == "__main__": | 1321 if __name__ == "__main__": |
1323 sys.exit(Main()) | 1322 sys.exit(Main()) |
OLD | NEW |