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 /** \mainpage V8 API Reference Guide | 5 /** \mainpage V8 API Reference Guide |
6 * | 6 * |
7 * V8 is Google's open source JavaScript engine. | 7 * V8 is Google's open source JavaScript engine. |
8 * | 8 * |
9 * This set of documents provides reference material generated from the | 9 * This set of documents provides reference material generated from the |
10 * V8 header file, include/v8.h. | 10 * V8 header file, include/v8.h. |
(...skipping 2146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2157 * Returns true if this value is a Float32Array. | 2157 * Returns true if this value is a Float32Array. |
2158 */ | 2158 */ |
2159 bool IsFloat32Array() const; | 2159 bool IsFloat32Array() const; |
2160 | 2160 |
2161 /** | 2161 /** |
2162 * Returns true if this value is a Float64Array. | 2162 * Returns true if this value is a Float64Array. |
2163 */ | 2163 */ |
2164 bool IsFloat64Array() const; | 2164 bool IsFloat64Array() const; |
2165 | 2165 |
2166 /** | 2166 /** |
| 2167 * Returns true if this value is a SIMD Float32x4. |
| 2168 * This is an experimental feature. |
| 2169 */ |
| 2170 bool IsFloat32x4() const; |
| 2171 |
| 2172 /** |
2167 * Returns true if this value is a DataView. | 2173 * Returns true if this value is a DataView. |
2168 */ | 2174 */ |
2169 bool IsDataView() const; | 2175 bool IsDataView() const; |
2170 | 2176 |
2171 /** | 2177 /** |
2172 * Returns true if this value is a SharedArrayBuffer. | 2178 * Returns true if this value is a SharedArrayBuffer. |
2173 * This is an experimental feature. | 2179 * This is an experimental feature. |
2174 */ | 2180 */ |
2175 bool IsSharedArrayBuffer() const; | 2181 bool IsSharedArrayBuffer() const; |
2176 | 2182 |
(...skipping 6305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8482 | 8488 |
8483 static const int kNodeClassIdOffset = 1 * kApiPointerSize; | 8489 static const int kNodeClassIdOffset = 1 * kApiPointerSize; |
8484 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; | 8490 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; |
8485 static const int kNodeStateMask = 0x7; | 8491 static const int kNodeStateMask = 0x7; |
8486 static const int kNodeStateIsWeakValue = 2; | 8492 static const int kNodeStateIsWeakValue = 2; |
8487 static const int kNodeStateIsPendingValue = 3; | 8493 static const int kNodeStateIsPendingValue = 3; |
8488 static const int kNodeStateIsNearDeathValue = 4; | 8494 static const int kNodeStateIsNearDeathValue = 4; |
8489 static const int kNodeIsIndependentShift = 3; | 8495 static const int kNodeIsIndependentShift = 3; |
8490 static const int kNodeIsActiveShift = 4; | 8496 static const int kNodeIsActiveShift = 4; |
8491 | 8497 |
8492 static const int kJSApiObjectType = 0xba; | 8498 static const int kJSApiObjectType = 0xbb; |
8493 static const int kJSObjectType = 0xbb; | 8499 static const int kJSObjectType = 0xbc; |
8494 static const int kFirstNonstringType = 0x80; | 8500 static const int kFirstNonstringType = 0x80; |
8495 static const int kOddballType = 0x82; | 8501 static const int kOddballType = 0x83; |
8496 static const int kForeignType = 0x86; | 8502 static const int kForeignType = 0x87; |
8497 | 8503 |
8498 static const int kUndefinedOddballKind = 5; | 8504 static const int kUndefinedOddballKind = 5; |
8499 static const int kNullOddballKind = 3; | 8505 static const int kNullOddballKind = 3; |
8500 | 8506 |
8501 static const uint32_t kNumIsolateDataSlots = 4; | 8507 static const uint32_t kNumIsolateDataSlots = 4; |
8502 | 8508 |
8503 V8_EXPORT static void CheckInitializedImpl(v8::Isolate* isolate); | 8509 V8_EXPORT static void CheckInitializedImpl(v8::Isolate* isolate); |
8504 V8_INLINE static void CheckInitialized(v8::Isolate* isolate) { | 8510 V8_INLINE static void CheckInitialized(v8::Isolate* isolate) { |
8505 #ifdef V8_ENABLE_CHECKS | 8511 #ifdef V8_ENABLE_CHECKS |
8506 CheckInitializedImpl(isolate); | 8512 CheckInitializedImpl(isolate); |
(...skipping 1352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9859 */ | 9865 */ |
9860 | 9866 |
9861 | 9867 |
9862 } // namespace v8 | 9868 } // namespace v8 |
9863 | 9869 |
9864 | 9870 |
9865 #undef TYPE_CHECK | 9871 #undef TYPE_CHECK |
9866 | 9872 |
9867 | 9873 |
9868 #endif // INCLUDE_V8_H_ | 9874 #endif // INCLUDE_V8_H_ |
OLD | NEW |