| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 { 'name': 'prop_representation_double', | 122 { 'name': 'prop_representation_double', |
| 123 'value': 'Representation::Kind::kDouble' }, | 123 'value': 'Representation::Kind::kDouble' }, |
| 124 { 'name': 'prop_representation_heapobject', | 124 { 'name': 'prop_representation_heapobject', |
| 125 'value': 'Representation::Kind::kHeapObject' }, | 125 'value': 'Representation::Kind::kHeapObject' }, |
| 126 { 'name': 'prop_representation_tagged', | 126 { 'name': 'prop_representation_tagged', |
| 127 'value': 'Representation::Kind::kTagged' }, | 127 'value': 'Representation::Kind::kTagged' }, |
| 128 { 'name': 'prop_representation_external', | 128 { 'name': 'prop_representation_external', |
| 129 'value': 'Representation::Kind::kExternal' }, | 129 'value': 'Representation::Kind::kExternal' }, |
| 130 | 130 |
| 131 { 'name': 'prop_desc_key', | 131 { 'name': 'prop_desc_key', |
| 132 'value': 'DescriptorArray::kDescriptorKey' }, | 132 'value': 'DescriptorArray::kEntryKeyIndex' }, |
| 133 { 'name': 'prop_desc_details', | 133 { 'name': 'prop_desc_details', |
| 134 'value': 'DescriptorArray::kDescriptorDetails' }, | 134 'value': 'DescriptorArray::kEntryDetailsIndex' }, |
| 135 { 'name': 'prop_desc_value', | 135 { 'name': 'prop_desc_value', |
| 136 'value': 'DescriptorArray::kDescriptorValue' }, | 136 'value': 'DescriptorArray::kEntryValueIndex' }, |
| 137 { 'name': 'prop_desc_size', | 137 { 'name': 'prop_desc_size', |
| 138 'value': 'DescriptorArray::kDescriptorSize' }, | 138 'value': 'DescriptorArray::kEntrySize' }, |
| 139 | 139 |
| 140 { 'name': 'elements_fast_holey_elements', | 140 { 'name': 'elements_fast_holey_elements', |
| 141 'value': 'FAST_HOLEY_ELEMENTS' }, | 141 'value': 'FAST_HOLEY_ELEMENTS' }, |
| 142 { 'name': 'elements_fast_elements', | 142 { 'name': 'elements_fast_elements', |
| 143 'value': 'FAST_ELEMENTS' }, | 143 'value': 'FAST_ELEMENTS' }, |
| 144 { 'name': 'elements_dictionary_elements', | 144 { 'name': 'elements_dictionary_elements', |
| 145 'value': 'DICTIONARY_ELEMENTS' }, | 145 'value': 'DICTIONARY_ELEMENTS' }, |
| 146 | 146 |
| 147 { 'name': 'bit_field2_elements_kind_mask', | 147 { 'name': 'bit_field2_elements_kind_mask', |
| 148 'value': 'Map::ElementsKindBits::kMask' }, | 148 'value': 'Map::ElementsKindBits::kMask' }, |
| (...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 632 | 632 |
| 633 out.write(footer); | 633 out.write(footer); |
| 634 | 634 |
| 635 if (len(sys.argv) < 4): | 635 if (len(sys.argv) < 4): |
| 636 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]); |
| 637 sys.exit(2); | 637 sys.exit(2); |
| 638 | 638 |
| 639 load_objects(); | 639 load_objects(); |
| 640 load_fields(); | 640 load_fields(); |
| 641 emit_config(); | 641 emit_config(); |
| OLD | NEW |