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 82 matching lines...) Loading... |
93 'value': 'DescriptorArray::kDescriptorKey' }, | 93 'value': 'DescriptorArray::kDescriptorKey' }, |
94 { 'name': 'prop_desc_details', | 94 { 'name': 'prop_desc_details', |
95 'value': 'DescriptorArray::kDescriptorDetails' }, | 95 'value': 'DescriptorArray::kDescriptorDetails' }, |
96 { 'name': 'prop_desc_value', | 96 { 'name': 'prop_desc_value', |
97 'value': 'DescriptorArray::kDescriptorValue' }, | 97 'value': 'DescriptorArray::kDescriptorValue' }, |
98 { 'name': 'prop_desc_size', | 98 { 'name': 'prop_desc_size', |
99 'value': 'DescriptorArray::kDescriptorSize' }, | 99 'value': 'DescriptorArray::kDescriptorSize' }, |
100 | 100 |
101 { 'name': 'off_fp_context', | 101 { 'name': 'off_fp_context', |
102 'value': 'StandardFrameConstants::kContextOffset' }, | 102 'value': 'StandardFrameConstants::kContextOffset' }, |
| 103 { 'name': 'off_fp_constant_pool', |
| 104 'value': 'StandardFrameConstants::kConstantPoolOffset' }, |
103 { 'name': 'off_fp_marker', | 105 { 'name': 'off_fp_marker', |
104 'value': 'StandardFrameConstants::kMarkerOffset' }, | 106 'value': 'StandardFrameConstants::kMarkerOffset' }, |
105 { 'name': 'off_fp_function', | 107 { 'name': 'off_fp_function', |
106 'value': 'JavaScriptFrameConstants::kFunctionOffset' }, | 108 'value': 'JavaScriptFrameConstants::kFunctionOffset' }, |
107 { 'name': 'off_fp_args', | 109 { 'name': 'off_fp_args', |
108 'value': 'JavaScriptFrameConstants::kLastParameterOffset' }, | 110 'value': 'JavaScriptFrameConstants::kLastParameterOffset' }, |
109 ]; | 111 ]; |
110 | 112 |
111 # | 113 # |
112 # The following useful fields are missing accessors, so we define fake ones. | 114 # The following useful fields are missing accessors, so we define fake ones. |
(...skipping 369 matching lines...) Loading... |
482 | 484 |
483 out.write(footer); | 485 out.write(footer); |
484 | 486 |
485 if (len(sys.argv) < 4): | 487 if (len(sys.argv) < 4): |
486 print('usage: %s output.cc objects.h objects-inl.h' % sys.argv[0]); | 488 print('usage: %s output.cc objects.h objects-inl.h' % sys.argv[0]); |
487 sys.exit(2); | 489 sys.exit(2); |
488 | 490 |
489 load_objects(); | 491 load_objects(); |
490 load_fields(); | 492 load_fields(); |
491 emit_config(); | 493 emit_config(); |
OLD | NEW |