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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 "function() {}", 2, None], | 145 "function() {}", 2, None], |
146 "GetBreakLocations": [None, 0, None], | 146 "GetBreakLocations": [None, 0, None], |
147 "GetDefaultReceiver": ["function() {}", None], | 147 "GetDefaultReceiver": ["function() {}", None], |
148 "GetImplFromInitializedIntlObject": ["new Intl.NumberFormat('en-US')", None], | 148 "GetImplFromInitializedIntlObject": ["new Intl.NumberFormat('en-US')", None], |
149 "InternalCompare": [_COLLATOR, None, None, None], | 149 "InternalCompare": [_COLLATOR, None, None, None], |
150 "InternalDateFormat": [_DATETIME_FORMAT, None, None], | 150 "InternalDateFormat": [_DATETIME_FORMAT, None, None], |
151 "InternalDateParse": [_DATETIME_FORMAT, None, None], | 151 "InternalDateParse": [_DATETIME_FORMAT, None, None], |
152 "InternalNumberFormat": [_NUMBER_FORMAT, None, None], | 152 "InternalNumberFormat": [_NUMBER_FORMAT, None, None], |
153 "InternalNumberParse": [_NUMBER_FORMAT, None, None], | 153 "InternalNumberParse": [_NUMBER_FORMAT, None, None], |
154 "IsSloppyModeFunction": ["function() {}", None], | 154 "IsSloppyModeFunction": ["function() {}", None], |
| 155 "FunctionIsArrow": ["() => {}", None], |
155 "LoadMutableDouble": ["{foo: 1.2}", None, None], | 156 "LoadMutableDouble": ["{foo: 1.2}", None, None], |
156 "NewObjectFromBound": ["(function() {}).bind({})", None], | 157 "NewObjectFromBound": ["(function() {}).bind({})", None], |
157 "NumberToRadixString": [None, "2", None], | 158 "NumberToRadixString": [None, "2", None], |
158 "ParseJson": ["\"{}\"", 1], | 159 "ParseJson": ["\"{}\"", 1], |
159 "RegExpExecMultiple": [None, None, "['a']", "['a']", None], | 160 "RegExpExecMultiple": [None, None, "['a']", "['a']", None], |
160 "SetAccessorProperty": [None, None, "undefined", "undefined", None, None, | 161 "SetAccessorProperty": [None, None, "undefined", "undefined", None, None, |
161 None], | 162 None], |
162 "SetCreateIterator": [None, "2", None], | 163 "SetCreateIterator": [None, "2", None], |
163 "SetDebugEventListener": ["undefined", None, None], | 164 "SetDebugEventListener": ["undefined", None, None], |
164 "SetFunctionBreakPoint": [None, 200, None, None], | 165 "SetFunctionBreakPoint": [None, 200, None, None], |
(...skipping 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1306 for i in range(len(processes)): | 1307 for i in range(len(processes)): |
1307 processes[i].join() | 1308 processes[i].join() |
1308 except KeyboardInterrupt: | 1309 except KeyboardInterrupt: |
1309 stop_running.set() | 1310 stop_running.set() |
1310 for i in range(len(processes)): | 1311 for i in range(len(processes)): |
1311 processes[i].join() | 1312 processes[i].join() |
1312 return 0 | 1313 return 0 |
1313 | 1314 |
1314 if __name__ == "__main__": | 1315 if __name__ == "__main__": |
1315 sys.exit(Main()) | 1316 sys.exit(Main()) |
OLD | NEW |