Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(367)

Side by Side Diff: tools/generate-runtime-tests.py

Issue 397973002: Rename [Load/Delete]ContextSlot for consistency after r22379. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/x87/full-codegen-x87.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 # ELEMENTS_KIND_CHECK_RUNTIME_FUNCTION 42 # ELEMENTS_KIND_CHECK_RUNTIME_FUNCTION
43 # FIXED_TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION 43 # FIXED_TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION
44 # TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION 44 # TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION
45 45
46 # Counts of functions in each detection state. These are used to assert 46 # Counts of functions in each detection state. These are used to assert
47 # that the parser doesn't bit-rot. Change the values as needed when you add, 47 # that the parser doesn't bit-rot. Change the values as needed when you add,
48 # remove or change runtime functions, but make sure we don't lose our ability 48 # remove or change runtime functions, but make sure we don't lose our ability
49 # to parse them! 49 # to parse them!
50 EXPECTED_FUNCTION_COUNT = 417 50 EXPECTED_FUNCTION_COUNT = 417
51 EXPECTED_FUZZABLE_COUNT = 332 51 EXPECTED_FUZZABLE_COUNT = 332
52 EXPECTED_CCTEST_COUNT = 9 52 EXPECTED_CCTEST_COUNT = 8
53 EXPECTED_UNKNOWN_COUNT = 4 53 EXPECTED_UNKNOWN_COUNT = 4
54 EXPECTED_BUILTINS_COUNT = 810 54 EXPECTED_BUILTINS_COUNT = 810
55 55
56 56
57 # Don't call these at all. 57 # Don't call these at all.
58 BLACKLISTED = [ 58 BLACKLISTED = [
59 "Abort", # Kills the process. 59 "Abort", # Kills the process.
60 "AbortJS", # Kills the process. 60 "AbortJS", # Kills the process.
61 "CompileForOnStackReplacement", # Riddled with ASSERTs. 61 "CompileForOnStackReplacement", # Riddled with ASSERTs.
62 "IS_VAR", # Not implemented in the runtime. 62 "IS_VAR", # Not implemented in the runtime.
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 "Interrupt", 145 "Interrupt",
146 "PromoteScheduledException", 146 "PromoteScheduledException",
147 147
148 # Contexts 148 # Contexts
149 "NewGlobalContext", 149 "NewGlobalContext",
150 "NewFunctionContext", 150 "NewFunctionContext",
151 "PushWithContext", 151 "PushWithContext",
152 "PushCatchContext", 152 "PushCatchContext",
153 "PushBlockContext", 153 "PushBlockContext",
154 "PushModuleContext", 154 "PushModuleContext",
155 "DeleteContextSlot", 155 "DeleteLookupSlot",
156 "LoadContextSlot", 156 "LoadLookupSlot",
157 "LoadContextSlotNoReferenceError", 157 "LoadLookupSlotNoReferenceError",
158 "StoreContextSlot", 158 "StoreLookupSlot",
159 159
160 # Declarations 160 # Declarations
161 "DeclareGlobals", 161 "DeclareGlobals",
162 "DeclareModules", 162 "DeclareModules",
163 "DeclareContextSlot", 163 "DeclareContextSlot",
164 "InitializeConstGlobal", 164 "InitializeConstGlobal",
165 "InitializeConstContextSlot", 165 "InitializeConstContextSlot",
166 166
167 # Eval 167 # Eval
168 "ResolvePossiblyDirectEval", 168 "ResolvePossiblyDirectEval",
(...skipping 1230 matching lines...) Expand 10 before | Expand all | Expand 10 after
1399 for i in range(len(processes)): 1399 for i in range(len(processes)):
1400 processes[i].join() 1400 processes[i].join()
1401 except KeyboardInterrupt: 1401 except KeyboardInterrupt:
1402 stop_running.set() 1402 stop_running.set()
1403 for i in range(len(processes)): 1403 for i in range(len(processes)):
1404 processes[i].join() 1404 processes[i].join()
1405 return 0 1405 return 0
1406 1406
1407 if __name__ == "__main__": 1407 if __name__ == "__main__":
1408 sys.exit(Main()) 1408 sys.exit(Main())
OLDNEW
« no previous file with comments | « src/x87/full-codegen-x87.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698