Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Side by Side Diff: include/v8.h

Issue 1153373003: Add new Float32x4 type for SIMD.js. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix int type mismatches. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | include/v8-profiler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1906 matching lines...) Expand 10 before | Expand all | Expand 10 after
1917 */ 1917 */
1918 bool IsFloat32Array() const; 1918 bool IsFloat32Array() const;
1919 1919
1920 /** 1920 /**
1921 * Returns true if this value is a Float64Array. 1921 * Returns true if this value is a Float64Array.
1922 * This is an experimental feature. 1922 * This is an experimental feature.
1923 */ 1923 */
1924 bool IsFloat64Array() const; 1924 bool IsFloat64Array() const;
1925 1925
1926 /** 1926 /**
1927 * Returns true if this value is a SIMD Float32x4.
1928 * This is an experimental feature.
1929 */
1930 bool IsFloat32x4() const;
1931
1932 /**
1927 * Returns true if this value is a DataView. 1933 * Returns true if this value is a DataView.
1928 * This is an experimental feature. 1934 * This is an experimental feature.
1929 */ 1935 */
1930 bool IsDataView() const; 1936 bool IsDataView() const;
1931 1937
1932 /** 1938 /**
1933 * Returns true if this value is a SharedArrayBuffer. 1939 * Returns true if this value is a SharedArrayBuffer.
1934 * This is an experimental feature. 1940 * This is an experimental feature.
1935 */ 1941 */
1936 bool IsSharedArrayBuffer() const; 1942 bool IsSharedArrayBuffer() const;
(...skipping 5005 matching lines...) Expand 10 before | Expand all | Expand 10 after
6942 6948
6943 static const int kNodeClassIdOffset = 1 * kApiPointerSize; 6949 static const int kNodeClassIdOffset = 1 * kApiPointerSize;
6944 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; 6950 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3;
6945 static const int kNodeStateMask = 0x7; 6951 static const int kNodeStateMask = 0x7;
6946 static const int kNodeStateIsWeakValue = 2; 6952 static const int kNodeStateIsWeakValue = 2;
6947 static const int kNodeStateIsPendingValue = 3; 6953 static const int kNodeStateIsPendingValue = 3;
6948 static const int kNodeStateIsNearDeathValue = 4; 6954 static const int kNodeStateIsNearDeathValue = 4;
6949 static const int kNodeIsIndependentShift = 3; 6955 static const int kNodeIsIndependentShift = 3;
6950 static const int kNodeIsPartiallyDependentShift = 4; 6956 static const int kNodeIsPartiallyDependentShift = 4;
6951 6957
6952 static const int kJSObjectType = 0xbe; 6958 static const int kJSObjectType = 0xbf;
6953 static const int kFirstNonstringType = 0x80; 6959 static const int kFirstNonstringType = 0x80;
6954 static const int kOddballType = 0x83; 6960 static const int kOddballType = 0x83;
6955 static const int kForeignType = 0x86; 6961 static const int kForeignType = 0x87;
6956 6962
6957 static const int kUndefinedOddballKind = 5; 6963 static const int kUndefinedOddballKind = 5;
6958 static const int kNullOddballKind = 3; 6964 static const int kNullOddballKind = 3;
6959 6965
6960 static const uint32_t kNumIsolateDataSlots = 4; 6966 static const uint32_t kNumIsolateDataSlots = 4;
6961 6967
6962 V8_EXPORT static void CheckInitializedImpl(v8::Isolate* isolate); 6968 V8_EXPORT static void CheckInitializedImpl(v8::Isolate* isolate);
6963 V8_INLINE static void CheckInitialized(v8::Isolate* isolate) { 6969 V8_INLINE static void CheckInitialized(v8::Isolate* isolate) {
6964 #ifdef V8_ENABLE_CHECKS 6970 #ifdef V8_ENABLE_CHECKS
6965 CheckInitializedImpl(isolate); 6971 CheckInitializedImpl(isolate);
(...skipping 1353 matching lines...) Expand 10 before | Expand all | Expand 10 after
8319 */ 8325 */
8320 8326
8321 8327
8322 } // namespace v8 8328 } // namespace v8
8323 8329
8324 8330
8325 #undef TYPE_CHECK 8331 #undef TYPE_CHECK
8326 8332
8327 8333
8328 #endif // V8_H_ 8334 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | include/v8-profiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698