| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 | 71 |
| 72 { 'name': 'FailureTag', 'value': 'kFailureTag' }, | 72 { 'name': 'FailureTag', 'value': 'kFailureTag' }, |
| 73 { 'name': 'FailureTagMask', 'value': 'kFailureTagMask' }, | 73 { 'name': 'FailureTagMask', 'value': 'kFailureTagMask' }, |
| 74 { 'name': 'HeapObjectTag', 'value': 'kHeapObjectTag' }, | 74 { 'name': 'HeapObjectTag', 'value': 'kHeapObjectTag' }, |
| 75 { 'name': 'HeapObjectTagMask', 'value': 'kHeapObjectTagMask' }, | 75 { 'name': 'HeapObjectTagMask', 'value': 'kHeapObjectTagMask' }, |
| 76 { 'name': 'SmiTag', 'value': 'kSmiTag' }, | 76 { 'name': 'SmiTag', 'value': 'kSmiTag' }, |
| 77 { 'name': 'SmiTagMask', 'value': 'kSmiTagMask' }, | 77 { 'name': 'SmiTagMask', 'value': 'kSmiTagMask' }, |
| 78 { 'name': 'SmiValueShift', 'value': 'kSmiTagSize' }, | 78 { 'name': 'SmiValueShift', 'value': 'kSmiTagSize' }, |
| 79 { 'name': 'PointerSizeLog2', 'value': 'kPointerSizeLog2' }, | 79 { 'name': 'PointerSizeLog2', 'value': 'kPointerSizeLog2' }, |
| 80 | 80 |
| 81 { 'name': 'prop_idx_content', | 81 { 'name': 'prop_idx_transitions', |
| 82 'value': 'DescriptorArray::kContentArrayIndex' }, | 82 'value': 'DescriptorArray::kTransitionsIndex' }, |
| 83 { 'name': 'prop_idx_first', | 83 { 'name': 'prop_idx_first', |
| 84 'value': 'DescriptorArray::kFirstIndex' }, | 84 'value': 'DescriptorArray::kFirstIndex' }, |
| 85 { 'name': 'prop_type_field', | 85 { 'name': 'prop_type_field', |
| 86 'value': 'FIELD' }, | 86 'value': 'FIELD' }, |
| 87 { 'name': 'prop_type_first_phantom', | 87 { 'name': 'prop_type_first_phantom', |
| 88 'value': 'MAP_TRANSITION' }, | 88 'value': 'MAP_TRANSITION' }, |
| 89 { 'name': 'prop_type_mask', | 89 { 'name': 'prop_type_mask', |
| 90 'value': 'PropertyDetails::TypeField::kMask' }, | 90 'value': 'PropertyDetails::TypeField::kMask' }, |
| 91 | 91 |
| 92 { 'name': 'off_fp_context', | 92 { 'name': 'off_fp_context', |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 472 | 472 |
| 473 out.write(footer); | 473 out.write(footer); |
| 474 | 474 |
| 475 if (len(sys.argv) < 4): | 475 if (len(sys.argv) < 4): |
| 476 print('usage: %s output.cc objects.h objects-inl.h' % sys.argv[0]); | 476 print('usage: %s output.cc objects.h objects-inl.h' % sys.argv[0]); |
| 477 sys.exit(2); | 477 sys.exit(2); |
| 478 | 478 |
| 479 load_objects(); | 479 load_objects(); |
| 480 load_fields(); | 480 load_fields(); |
| 481 emit_config(); | 481 emit_config(); |
| OLD | NEW |