| 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_OBJECTS_H_ | 5 #ifndef V8_OBJECTS_H_ |
| 6 #define V8_OBJECTS_H_ | 6 #define V8_OBJECTS_H_ |
| 7 | 7 |
| 8 #include <iosfwd> | 8 #include <iosfwd> |
| 9 | 9 |
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
| (...skipping 5063 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5074 inline void set_safepoint_table_offset(unsigned offset); | 5074 inline void set_safepoint_table_offset(unsigned offset); |
| 5075 | 5075 |
| 5076 // [back_edge_table_start]: For kind FUNCTION, the offset in the | 5076 // [back_edge_table_start]: For kind FUNCTION, the offset in the |
| 5077 // instruction stream where the back edge table starts. | 5077 // instruction stream where the back edge table starts. |
| 5078 inline unsigned back_edge_table_offset(); | 5078 inline unsigned back_edge_table_offset(); |
| 5079 inline void set_back_edge_table_offset(unsigned offset); | 5079 inline void set_back_edge_table_offset(unsigned offset); |
| 5080 | 5080 |
| 5081 inline bool back_edges_patched_for_osr(); | 5081 inline bool back_edges_patched_for_osr(); |
| 5082 | 5082 |
| 5083 // [to_boolean_foo]: For kind TO_BOOLEAN_IC tells what state the stub is in. | 5083 // [to_boolean_foo]: For kind TO_BOOLEAN_IC tells what state the stub is in. |
| 5084 inline byte to_boolean_state(); | 5084 inline uint16_t to_boolean_state(); |
| 5085 | 5085 |
| 5086 // [has_function_cache]: For kind STUB tells whether there is a function | 5086 // [has_function_cache]: For kind STUB tells whether there is a function |
| 5087 // cache is passed to the stub. | 5087 // cache is passed to the stub. |
| 5088 inline bool has_function_cache(); | 5088 inline bool has_function_cache(); |
| 5089 inline void set_has_function_cache(bool flag); | 5089 inline void set_has_function_cache(bool flag); |
| 5090 | 5090 |
| 5091 | 5091 |
| 5092 // [marked_for_deoptimization]: For kind OPTIMIZED_FUNCTION tells whether | 5092 // [marked_for_deoptimization]: For kind OPTIMIZED_FUNCTION tells whether |
| 5093 // the code is going to be deoptimized because of dead embedded maps. | 5093 // the code is going to be deoptimized because of dead embedded maps. |
| 5094 inline bool marked_for_deoptimization(); | 5094 inline bool marked_for_deoptimization(); |
| (...skipping 5711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10806 } else { | 10806 } else { |
| 10807 value &= ~(1 << bit_position); | 10807 value &= ~(1 << bit_position); |
| 10808 } | 10808 } |
| 10809 return value; | 10809 return value; |
| 10810 } | 10810 } |
| 10811 }; | 10811 }; |
| 10812 | 10812 |
| 10813 } } // namespace v8::internal | 10813 } } // namespace v8::internal |
| 10814 | 10814 |
| 10815 #endif // V8_OBJECTS_H_ | 10815 #endif // V8_OBJECTS_H_ |
| OLD | NEW |