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 "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/assert-scope.h" | 9 #include "src/assert-scope.h" |
10 #include "src/builtins.h" | 10 #include "src/builtins.h" |
(...skipping 5539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5550 inline void set_raw_kind_specific_flags2(int value); | 5550 inline void set_raw_kind_specific_flags2(int value); |
5551 | 5551 |
5552 // [major_key]: For kind STUB or BINARY_OP_IC, the major key. | 5552 // [major_key]: For kind STUB or BINARY_OP_IC, the major key. |
5553 inline int major_key(); | 5553 inline int major_key(); |
5554 inline void set_major_key(int value); | 5554 inline void set_major_key(int value); |
5555 inline bool has_major_key(); | 5555 inline bool has_major_key(); |
5556 | 5556 |
5557 // For kind STUB or ICs, tells whether or not a code object was generated by | 5557 // For kind STUB or ICs, tells whether or not a code object was generated by |
5558 // the optimizing compiler (but it may not be an optimized function). | 5558 // the optimizing compiler (but it may not be an optimized function). |
5559 bool is_crankshafted(); | 5559 bool is_crankshafted(); |
| 5560 bool is_hydrogen_stub(); // Crankshafted, but not a function. |
5560 inline void set_is_crankshafted(bool value); | 5561 inline void set_is_crankshafted(bool value); |
5561 | 5562 |
5562 // [optimizable]: For FUNCTION kind, tells if it is optimizable. | 5563 // [optimizable]: For FUNCTION kind, tells if it is optimizable. |
5563 inline bool optimizable(); | 5564 inline bool optimizable(); |
5564 inline void set_optimizable(bool value); | 5565 inline void set_optimizable(bool value); |
5565 | 5566 |
5566 // [has_deoptimization_support]: For FUNCTION kind, tells if it has | 5567 // [has_deoptimization_support]: For FUNCTION kind, tells if it has |
5567 // deoptimization support. | 5568 // deoptimization support. |
5568 inline bool has_deoptimization_support(); | 5569 inline bool has_deoptimization_support(); |
5569 inline void set_has_deoptimization_support(bool value); | 5570 inline void set_has_deoptimization_support(bool value); |
(...skipping 5626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11196 } else { | 11197 } else { |
11197 value &= ~(1 << bit_position); | 11198 value &= ~(1 << bit_position); |
11198 } | 11199 } |
11199 return value; | 11200 return value; |
11200 } | 11201 } |
11201 }; | 11202 }; |
11202 | 11203 |
11203 } } // namespace v8::internal | 11204 } } // namespace v8::internal |
11204 | 11205 |
11205 #endif // V8_OBJECTS_H_ | 11206 #endif // V8_OBJECTS_H_ |
OLD | NEW |