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

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

Issue 11293168: Rename kAsciiStringTag to kOneByteStringTag (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « src/x64/macro-assembler-x64.cc ('k') | 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 # 54 #
55 consts_misc = [ 55 consts_misc = [
56 { 'name': 'FirstNonstringType', 'value': 'FIRST_NONSTRING_TYPE' }, 56 { 'name': 'FirstNonstringType', 'value': 'FIRST_NONSTRING_TYPE' },
57 57
58 { 'name': 'IsNotStringMask', 'value': 'kIsNotStringMask' }, 58 { 'name': 'IsNotStringMask', 'value': 'kIsNotStringMask' },
59 { 'name': 'StringTag', 'value': 'kStringTag' }, 59 { 'name': 'StringTag', 'value': 'kStringTag' },
60 { 'name': 'NotStringTag', 'value': 'kNotStringTag' }, 60 { 'name': 'NotStringTag', 'value': 'kNotStringTag' },
61 61
62 { 'name': 'StringEncodingMask', 'value': 'kStringEncodingMask' }, 62 { 'name': 'StringEncodingMask', 'value': 'kStringEncodingMask' },
63 { 'name': 'TwoByteStringTag', 'value': 'kTwoByteStringTag' }, 63 { 'name': 'TwoByteStringTag', 'value': 'kTwoByteStringTag' },
64 { 'name': 'AsciiStringTag', 'value': 'kAsciiStringTag' }, 64 { 'name': 'AsciiStringTag', 'value': 'kOneByteStringTag' },
65 65
66 { 'name': 'StringRepresentationMask', 66 { 'name': 'StringRepresentationMask',
67 'value': 'kStringRepresentationMask' }, 67 'value': 'kStringRepresentationMask' },
68 { 'name': 'SeqStringTag', 'value': 'kSeqStringTag' }, 68 { 'name': 'SeqStringTag', 'value': 'kSeqStringTag' },
69 { 'name': 'ConsStringTag', 'value': 'kConsStringTag' }, 69 { 'name': 'ConsStringTag', 'value': 'kConsStringTag' },
70 { 'name': 'ExternalStringTag', 'value': 'kExternalStringTag' }, 70 { 'name': 'ExternalStringTag', 'value': 'kExternalStringTag' },
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' },
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
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();
OLDNEW
« no previous file with comments | « src/x64/macro-assembler-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698