OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_GLOBALS_H_ | 5 #ifndef V8_GLOBALS_H_ |
6 #define V8_GLOBALS_H_ | 6 #define V8_GLOBALS_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
570 // ^ | 570 // ^ |
571 // | | 571 // | |
572 // buffer | 572 // buffer |
573 | 573 |
574 struct CodeDesc { | 574 struct CodeDesc { |
575 byte* buffer; | 575 byte* buffer; |
576 int buffer_size; | 576 int buffer_size; |
577 int instr_size; | 577 int instr_size; |
578 int reloc_size; | 578 int reloc_size; |
579 int constant_pool_size; | 579 int constant_pool_size; |
| 580 byte* unwinding_info; |
| 581 int unwinding_info_size; |
580 Assembler* origin; | 582 Assembler* origin; |
581 }; | 583 }; |
582 | 584 |
583 | 585 |
584 // Callback function used for checking constraints when copying/relocating | 586 // Callback function used for checking constraints when copying/relocating |
585 // objects. Returns true if an object can be copied/relocated from its | 587 // objects. Returns true if an object can be copied/relocated from its |
586 // old_addr to a new_addr. | 588 // old_addr to a new_addr. |
587 typedef bool (*ConstraintCallback)(Address new_addr, Address old_addr); | 589 typedef bool (*ConstraintCallback)(Address new_addr, Address old_addr); |
588 | 590 |
589 | 591 |
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1113 return static_cast<uint32_t>(bit_cast<uintptr_t>(address) >> | 1115 return static_cast<uint32_t>(bit_cast<uintptr_t>(address) >> |
1114 kPointerSizeLog2); | 1116 kPointerSizeLog2); |
1115 } | 1117 } |
1116 | 1118 |
1117 } // namespace internal | 1119 } // namespace internal |
1118 } // namespace v8 | 1120 } // namespace v8 |
1119 | 1121 |
1120 namespace i = v8::internal; | 1122 namespace i = v8::internal; |
1121 | 1123 |
1122 #endif // V8_GLOBALS_H_ | 1124 #endif // V8_GLOBALS_H_ |
OLD | NEW |