| 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 797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 808 | 808 |
| 809 NOT_EQUAL = GREATER | 809 NOT_EQUAL = GREATER |
| 810 }; | 810 }; |
| 811 | 811 |
| 812 | 812 |
| 813 // Result of an abstract relational comparison of x and y, implemented according | 813 // Result of an abstract relational comparison of x and y, implemented according |
| 814 // to ES6 section 7.2.11 Abstract Relational Comparison. | 814 // to ES6 section 7.2.11 Abstract Relational Comparison. |
| 815 enum class ComparisonResult { | 815 enum class ComparisonResult { |
| 816 kLessThan, // x < y | 816 kLessThan, // x < y |
| 817 kEqual, // x = y | 817 kEqual, // x = y |
| 818 kGreaterThan, // x > x | 818 kGreaterThan, // x > y |
| 819 kUndefined // at least one of x or y was undefined or NaN | 819 kUndefined // at least one of x or y was undefined or NaN |
| 820 }; | 820 }; |
| 821 | 821 |
| 822 | 822 |
| 823 #define DECL_BOOLEAN_ACCESSORS(name) \ | 823 #define DECL_BOOLEAN_ACCESSORS(name) \ |
| 824 inline bool name() const; \ | 824 inline bool name() const; \ |
| 825 inline void set_##name(bool value); \ | 825 inline void set_##name(bool value); \ |
| 826 | 826 |
| 827 | 827 |
| 828 #define DECL_ACCESSORS(name, type) \ | 828 #define DECL_ACCESSORS(name, type) \ |
| (...skipping 9743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10572 | 10572 |
| 10573 Isolate* isolate_; | 10573 Isolate* isolate_; |
| 10574 Handle<FixedArray> keys_; | 10574 Handle<FixedArray> keys_; |
| 10575 Handle<OrderedHashSet> set_; | 10575 Handle<OrderedHashSet> set_; |
| 10576 int length_; | 10576 int length_; |
| 10577 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator); | 10577 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator); |
| 10578 }; | 10578 }; |
| 10579 } } // namespace v8::internal | 10579 } } // namespace v8::internal |
| 10580 | 10580 |
| 10581 #endif // V8_OBJECTS_H_ | 10581 #endif // V8_OBJECTS_H_ |
| OLD | NEW |