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

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

Issue 2655553006: add post-mortem metadata for frames type (Closed)
Patch Set: Created 3 years, 11 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
« 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 'value': 'Map::ElementsKindBits::kMask' }, 148 'value': 'Map::ElementsKindBits::kMask' },
149 { 'name': 'bit_field2_elements_kind_shift', 149 { 'name': 'bit_field2_elements_kind_shift',
150 'value': 'Map::ElementsKindBits::kShift' }, 150 'value': 'Map::ElementsKindBits::kShift' },
151 { 'name': 'bit_field3_dictionary_map_shift', 151 { 'name': 'bit_field3_dictionary_map_shift',
152 'value': 'Map::DictionaryMap::kShift' }, 152 'value': 'Map::DictionaryMap::kShift' },
153 { 'name': 'bit_field3_number_of_own_descriptors_mask', 153 { 'name': 'bit_field3_number_of_own_descriptors_mask',
154 'value': 'Map::NumberOfOwnDescriptorsBits::kMask' }, 154 'value': 'Map::NumberOfOwnDescriptorsBits::kMask' },
155 { 'name': 'bit_field3_number_of_own_descriptors_shift', 155 { 'name': 'bit_field3_number_of_own_descriptors_shift',
156 'value': 'Map::NumberOfOwnDescriptorsBits::kShift' }, 156 'value': 'Map::NumberOfOwnDescriptorsBits::kShift' },
157 157
158 { 'name': 'off_fp_context_or_frame_type',
159 'value': 'CommonFrameConstants::kContextOrFrameTypeOffset'},
158 { 'name': 'off_fp_context', 160 { 'name': 'off_fp_context',
159 'value': 'StandardFrameConstants::kContextOffset' }, 161 'value': 'StandardFrameConstants::kContextOffset' },
160 { 'name': 'off_fp_constant_pool', 162 { 'name': 'off_fp_constant_pool',
161 'value': 'StandardFrameConstants::kConstantPoolOffset' }, 163 'value': 'StandardFrameConstants::kConstantPoolOffset' },
162 { 'name': 'off_fp_function', 164 { 'name': 'off_fp_function',
163 'value': 'JavaScriptFrameConstants::kFunctionOffset' }, 165 'value': 'JavaScriptFrameConstants::kFunctionOffset' },
164 { 'name': 'off_fp_args', 166 { 'name': 'off_fp_args',
165 'value': 'JavaScriptFrameConstants::kLastParameterOffset' }, 167 'value': 'JavaScriptFrameConstants::kLastParameterOffset' },
166 168
167 { 'name': 'scopeinfo_idx_nparams', 169 { 'name': 'scopeinfo_idx_nparams',
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 632
631 out.write(footer); 633 out.write(footer);
632 634
633 if (len(sys.argv) < 4): 635 if (len(sys.argv) < 4):
634 print('usage: %s output.cc objects.h objects-inl.h' % sys.argv[0]); 636 print('usage: %s output.cc objects.h objects-inl.h' % sys.argv[0]);
635 sys.exit(2); 637 sys.exit(2);
636 638
637 load_objects(); 639 load_objects();
638 load_fields(); 640 load_fields();
639 emit_config(); 641 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