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

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

Issue 1718953002: Fix gen-postmortem-metadata.py script. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 { 'name': 'SmiTag', 'value': 'kSmiTag' }, 75 { 'name': 'SmiTag', 'value': 'kSmiTag' },
76 { 'name': 'SmiTagMask', 'value': 'kSmiTagMask' }, 76 { 'name': 'SmiTagMask', 'value': 'kSmiTagMask' },
77 { 'name': 'SmiValueShift', 'value': 'kSmiTagSize' }, 77 { 'name': 'SmiValueShift', 'value': 'kSmiTagSize' },
78 { 'name': 'SmiShiftSize', 'value': 'kSmiShiftSize' }, 78 { 'name': 'SmiShiftSize', 'value': 'kSmiShiftSize' },
79 { 'name': 'PointerSizeLog2', 'value': 'kPointerSizeLog2' }, 79 { 'name': 'PointerSizeLog2', 'value': 'kPointerSizeLog2' },
80 80
81 { 'name': 'OddballFalse', 'value': 'Oddball::kFalse' }, 81 { 'name': 'OddballFalse', 'value': 'Oddball::kFalse' },
82 { 'name': 'OddballTrue', 'value': 'Oddball::kTrue' }, 82 { 'name': 'OddballTrue', 'value': 'Oddball::kTrue' },
83 { 'name': 'OddballTheHole', 'value': 'Oddball::kTheHole' }, 83 { 'name': 'OddballTheHole', 'value': 'Oddball::kTheHole' },
84 { 'name': 'OddballNull', 'value': 'Oddball::kNull' }, 84 { 'name': 'OddballNull', 'value': 'Oddball::kNull' },
85 { 'name': 'OddballArgumentMarker', 'value': 'Oddball::kArgumentMarker' }, 85 { 'name': 'OddballArgumentsMarker', 'value': 'Oddball::kArgumentsMarker' },
86 { 'name': 'OddballUndefined', 'value': 'Oddball::kUndefined' }, 86 { 'name': 'OddballUndefined', 'value': 'Oddball::kUndefined' },
87 { 'name': 'OddballUninitialized', 'value': 'Oddball::kUninitialized' }, 87 { 'name': 'OddballUninitialized', 'value': 'Oddball::kUninitialized' },
88 { 'name': 'OddballOther', 'value': 'Oddball::kOther' }, 88 { 'name': 'OddballOther', 'value': 'Oddball::kOther' },
89 { 'name': 'OddballException', 'value': 'Oddball::kException' }, 89 { 'name': 'OddballException', 'value': 'Oddball::kException' },
90 90
91 { 'name': 'prop_idx_first', 91 { 'name': 'prop_idx_first',
92 'value': 'DescriptorArray::kFirstIndex' }, 92 'value': 'DescriptorArray::kFirstIndex' },
93 { 'name': 'prop_type_field', 93 { 'name': 'prop_type_field',
94 'value': 'DATA' }, 94 'value': 'DATA' },
95 { 'name': 'prop_type_mask', 95 { 'name': 'prop_type_mask',
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 601
602 out.write(footer); 602 out.write(footer);
603 603
604 if (len(sys.argv) < 4): 604 if (len(sys.argv) < 4):
605 print('usage: %s output.cc objects.h objects-inl.h' % sys.argv[0]); 605 print('usage: %s output.cc objects.h objects-inl.h' % sys.argv[0]);
606 sys.exit(2); 606 sys.exit(2);
607 607
608 load_objects(); 608 load_objects();
609 load_fields(); 609 load_fields();
610 emit_config(); 610 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