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 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
547 // | | 547 // | |
548 // buffer | 548 // buffer |
549 | 549 |
550 struct CodeDesc { | 550 struct CodeDesc { |
551 byte* buffer; | 551 byte* buffer; |
552 int buffer_size; | 552 int buffer_size; |
553 int instr_size; | 553 int instr_size; |
554 int reloc_size; | 554 int reloc_size; |
555 int constant_pool_size; | 555 int constant_pool_size; |
556 Assembler* origin; | 556 Assembler* origin; |
557 byte* unwinding_info; | |
558 int unwinding_info_size; | |
rmcilroy
2016/06/21 13:47:43
nit - move above Assembler* origin
Stefano Sanfilippo
2016/06/23 15:23:43
Done.
| |
557 }; | 559 }; |
558 | 560 |
559 | 561 |
560 // Callback function used for checking constraints when copying/relocating | 562 // Callback function used for checking constraints when copying/relocating |
561 // objects. Returns true if an object can be copied/relocated from its | 563 // objects. Returns true if an object can be copied/relocated from its |
562 // old_addr to a new_addr. | 564 // old_addr to a new_addr. |
563 typedef bool (*ConstraintCallback)(Address new_addr, Address old_addr); | 565 typedef bool (*ConstraintCallback)(Address new_addr, Address old_addr); |
564 | 566 |
565 | 567 |
566 // Callback function on inline caches, used for iterating over inline caches | 568 // Callback function on inline caches, used for iterating over inline caches |
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1089 return static_cast<uint32_t>(bit_cast<uintptr_t>(address) >> | 1091 return static_cast<uint32_t>(bit_cast<uintptr_t>(address) >> |
1090 kPointerSizeLog2); | 1092 kPointerSizeLog2); |
1091 } | 1093 } |
1092 | 1094 |
1093 } // namespace internal | 1095 } // namespace internal |
1094 } // namespace v8 | 1096 } // namespace v8 |
1095 | 1097 |
1096 namespace i = v8::internal; | 1098 namespace i = v8::internal; |
1097 | 1099 |
1098 #endif // V8_GLOBALS_H_ | 1100 #endif // V8_GLOBALS_H_ |
OLD | NEW |