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

Side by Side Diff: tools/gen-postmortem-metadata.py

Issue 1439763002: tools: fix typo in postmortem generator (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « no previous file | 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 2
3 # 3 #
4 # Copyright 2012 the V8 project authors. All rights reserved. 4 # Copyright 2012 the V8 project authors. All rights reserved.
5 # Redistribution and use in source and binary forms, with or without 5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions are 6 # modification, are permitted provided that the following conditions are
7 # met: 7 # met:
8 # 8 #
9 # * Redistributions of source code must retain the above copyright 9 # * Redistributions of source code must retain the above copyright
10 # notice, this list of conditions and the following disclaimer. 10 # notice, this list of conditions and the following disclaimer.
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 { 'name': 'off_fp_args', 161 { 'name': 'off_fp_args',
162 'value': 'JavaScriptFrameConstants::kLastParameterOffset' }, 162 'value': 'JavaScriptFrameConstants::kLastParameterOffset' },
163 163
164 { 'name': 'scopeinfo_idx_nparams', 164 { 'name': 'scopeinfo_idx_nparams',
165 'value': 'ScopeInfo::kParameterCount' }, 165 'value': 'ScopeInfo::kParameterCount' },
166 { 'name': 'scopeinfo_idx_nstacklocals', 166 { 'name': 'scopeinfo_idx_nstacklocals',
167 'value': 'ScopeInfo::kStackLocalCount' }, 167 'value': 'ScopeInfo::kStackLocalCount' },
168 { 'name': 'scopeinfo_idx_ncontextlocals', 168 { 'name': 'scopeinfo_idx_ncontextlocals',
169 'value': 'ScopeInfo::kContextLocalCount' }, 169 'value': 'ScopeInfo::kContextLocalCount' },
170 { 'name': 'scopeinfo_idx_ncontextglobals', 170 { 'name': 'scopeinfo_idx_ncontextglobals',
171 'value': 'ScopeInfo::kContextLocalCount' }, 171 'value': 'ScopeInfo::kContextGlobalCount' },
172 { 'name': 'scopeinfo_idx_first_vars', 172 { 'name': 'scopeinfo_idx_first_vars',
173 'value': 'ScopeInfo::kVariablePartIndex' }, 173 'value': 'ScopeInfo::kVariablePartIndex' },
174 174
175 { 'name': 'sharedfunctioninfo_start_position_mask', 175 { 'name': 'sharedfunctioninfo_start_position_mask',
176 'value': 'SharedFunctionInfo::kStartPositionMask' }, 176 'value': 'SharedFunctionInfo::kStartPositionMask' },
177 { 'name': 'sharedfunctioninfo_start_position_shift', 177 { 'name': 'sharedfunctioninfo_start_position_shift',
178 'value': 'SharedFunctionInfo::kStartPositionShift' }, 178 'value': 'SharedFunctionInfo::kStartPositionShift' },
179 179
180 { 'name': 'jsarray_buffer_was_neutered_mask', 180 { 'name': 'jsarray_buffer_was_neutered_mask',
181 'value': 'JSArrayBuffer::WasNeutered::kMask' }, 181 'value': 'JSArrayBuffer::WasNeutered::kMask' },
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 582
583 out.write(footer); 583 out.write(footer);
584 584
585 if (len(sys.argv) < 4): 585 if (len(sys.argv) < 4):
586 print('usage: %s output.cc objects.h objects-inl.h' % sys.argv[0]); 586 print('usage: %s output.cc objects.h objects-inl.h' % sys.argv[0]);
587 sys.exit(2); 587 sys.exit(2);
588 588
589 load_objects(); 589 load_objects();
590 load_fields(); 590 load_fields();
591 emit_config(); 591 emit_config();
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698