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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 'value': 'Map::DictionaryMap::kShift' }, | 147 'value': 'Map::DictionaryMap::kShift' }, |
148 { 'name': 'bit_field3_number_of_own_descriptors_mask', | 148 { 'name': 'bit_field3_number_of_own_descriptors_mask', |
149 'value': 'Map::NumberOfOwnDescriptorsBits::kMask' }, | 149 'value': 'Map::NumberOfOwnDescriptorsBits::kMask' }, |
150 { 'name': 'bit_field3_number_of_own_descriptors_shift', | 150 { 'name': 'bit_field3_number_of_own_descriptors_shift', |
151 'value': 'Map::NumberOfOwnDescriptorsBits::kShift' }, | 151 'value': 'Map::NumberOfOwnDescriptorsBits::kShift' }, |
152 | 152 |
153 { 'name': 'off_fp_context', | 153 { 'name': 'off_fp_context', |
154 'value': 'StandardFrameConstants::kContextOffset' }, | 154 'value': 'StandardFrameConstants::kContextOffset' }, |
155 { 'name': 'off_fp_constant_pool', | 155 { 'name': 'off_fp_constant_pool', |
156 'value': 'StandardFrameConstants::kConstantPoolOffset' }, | 156 'value': 'StandardFrameConstants::kConstantPoolOffset' }, |
157 { 'name': 'off_fp_marker', | |
158 'value': 'StandardFrameConstants::kMarkerOffset' }, | |
159 { 'name': 'off_fp_function', | 157 { 'name': 'off_fp_function', |
160 'value': 'JavaScriptFrameConstants::kFunctionOffset' }, | 158 'value': 'JavaScriptFrameConstants::kFunctionOffset' }, |
161 { 'name': 'off_fp_args', | 159 { 'name': 'off_fp_args', |
162 'value': 'JavaScriptFrameConstants::kLastParameterOffset' }, | 160 'value': 'JavaScriptFrameConstants::kLastParameterOffset' }, |
163 | 161 |
164 { 'name': 'scopeinfo_idx_nparams', | 162 { 'name': 'scopeinfo_idx_nparams', |
165 'value': 'ScopeInfo::kParameterCount' }, | 163 'value': 'ScopeInfo::kParameterCount' }, |
166 { 'name': 'scopeinfo_idx_nstacklocals', | 164 { 'name': 'scopeinfo_idx_nstacklocals', |
167 'value': 'ScopeInfo::kStackLocalCount' }, | 165 'value': 'ScopeInfo::kStackLocalCount' }, |
168 { 'name': 'scopeinfo_idx_ncontextlocals', | 166 { 'name': 'scopeinfo_idx_ncontextlocals', |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
601 | 599 |
602 out.write(footer); | 600 out.write(footer); |
603 | 601 |
604 if (len(sys.argv) < 4): | 602 if (len(sys.argv) < 4): |
605 print('usage: %s output.cc objects.h objects-inl.h' % sys.argv[0]); | 603 print('usage: %s output.cc objects.h objects-inl.h' % sys.argv[0]); |
606 sys.exit(2); | 604 sys.exit(2); |
607 | 605 |
608 load_objects(); | 606 load_objects(); |
609 load_fields(); | 607 load_fields(); |
610 emit_config(); | 608 emit_config(); |
OLD | NEW |