| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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(); |
| OLD | NEW |