| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| (...skipping 10069 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10080 int index_; | 10080 int index_; |
| 10081 }; | 10081 }; |
| 10082 | 10082 |
| 10083 | 10083 |
| 10084 // The Oddball describes objects null, undefined, true, and false. | 10084 // The Oddball describes objects null, undefined, true, and false. |
| 10085 class Oddball: public HeapObject { | 10085 class Oddball: public HeapObject { |
| 10086 public: | 10086 public: |
| 10087 // [to_number_raw]: Cached raw to_number computed at startup. | 10087 // [to_number_raw]: Cached raw to_number computed at startup. |
| 10088 inline double to_number_raw() const; | 10088 inline double to_number_raw() const; |
| 10089 inline void set_to_number_raw(double value); | 10089 inline void set_to_number_raw(double value); |
| 10090 inline void set_to_number_raw_as_bits(uint64_t bits); |
| 10090 | 10091 |
| 10091 // [to_string]: Cached to_string computed at startup. | 10092 // [to_string]: Cached to_string computed at startup. |
| 10092 DECL_ACCESSORS(to_string, String) | 10093 DECL_ACCESSORS(to_string, String) |
| 10093 | 10094 |
| 10094 // [to_number]: Cached to_number computed at startup. | 10095 // [to_number]: Cached to_number computed at startup. |
| 10095 DECL_ACCESSORS(to_number, Object) | 10096 DECL_ACCESSORS(to_number, Object) |
| 10096 | 10097 |
| 10097 // [typeof]: Cached type_of computed at startup. | 10098 // [typeof]: Cached type_of computed at startup. |
| 10098 DECL_ACCESSORS(type_of, String) | 10099 DECL_ACCESSORS(type_of, String) |
| 10099 | 10100 |
| (...skipping 1469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11569 } | 11570 } |
| 11570 }; | 11571 }; |
| 11571 | 11572 |
| 11572 | 11573 |
| 11573 } // NOLINT, false-positive due to second-order macros. | 11574 } // NOLINT, false-positive due to second-order macros. |
| 11574 } // NOLINT, false-positive due to second-order macros. | 11575 } // NOLINT, false-positive due to second-order macros. |
| 11575 | 11576 |
| 11576 #include "src/objects/object-macros-undef.h" | 11577 #include "src/objects/object-macros-undef.h" |
| 11577 | 11578 |
| 11578 #endif // V8_OBJECTS_H_ | 11579 #endif // V8_OBJECTS_H_ |
| OLD | NEW |