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_ISOLATE_H_ | 5 #ifndef V8_ISOLATE_H_ |
6 #define V8_ISOLATE_H_ | 6 #define V8_ISOLATE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <queue> | 9 #include <queue> |
10 | 10 |
(...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1034 | 1034 |
1035 Map* get_initial_js_array_map(ElementsKind kind); | 1035 Map* get_initial_js_array_map(ElementsKind kind); |
1036 | 1036 |
1037 static const int kProtectorValid = 1; | 1037 static const int kProtectorValid = 1; |
1038 static const int kProtectorInvalid = 0; | 1038 static const int kProtectorInvalid = 0; |
1039 | 1039 |
1040 bool IsFastArrayConstructorPrototypeChainIntact(); | 1040 bool IsFastArrayConstructorPrototypeChainIntact(); |
1041 inline bool IsArraySpeciesLookupChainIntact(); | 1041 inline bool IsArraySpeciesLookupChainIntact(); |
1042 bool IsIsConcatSpreadableLookupChainIntact(); | 1042 bool IsIsConcatSpreadableLookupChainIntact(); |
1043 bool IsIsConcatSpreadableLookupChainIntact(JSReceiver* receiver); | 1043 bool IsIsConcatSpreadableLookupChainIntact(JSReceiver* receiver); |
1044 inline bool IsStringBoundsCheckIntact(); | |
1045 inline bool IsStringLengthOverflowIntact(); | 1044 inline bool IsStringLengthOverflowIntact(); |
1046 inline bool IsArrayIteratorLookupChainIntact(); | 1045 inline bool IsArrayIteratorLookupChainIntact(); |
1047 | 1046 |
1048 // Avoid deopt loops if fast Array Iterators migrate to slow Array Iterators. | 1047 // Avoid deopt loops if fast Array Iterators migrate to slow Array Iterators. |
1049 inline bool IsFastArrayIterationIntact(); | 1048 inline bool IsFastArrayIterationIntact(); |
1050 | 1049 |
1051 // Make sure we do check for neutered array buffers. | 1050 // Make sure we do check for neutered array buffers. |
1052 inline bool IsArrayBufferNeuteringIntact(); | 1051 inline bool IsArrayBufferNeuteringIntact(); |
1053 | 1052 |
1054 // On intent to set an element in object, make sure that appropriate | 1053 // On intent to set an element in object, make sure that appropriate |
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1815 | 1814 |
1816 EmbeddedVector<char, 128> filename_; | 1815 EmbeddedVector<char, 128> filename_; |
1817 FILE* file_; | 1816 FILE* file_; |
1818 int scope_depth_; | 1817 int scope_depth_; |
1819 }; | 1818 }; |
1820 | 1819 |
1821 } // namespace internal | 1820 } // namespace internal |
1822 } // namespace v8 | 1821 } // namespace v8 |
1823 | 1822 |
1824 #endif // V8_ISOLATE_H_ | 1823 #endif // V8_ISOLATE_H_ |
OLD | NEW |