Chromium Code Reviews| Index: include/v8.h |
| diff --git a/include/v8.h b/include/v8.h |
| index b06b9e0e1a722de4e2dfd36e7b22c845d2163c65..dc0f977d24bde0ee49a14694b78ec18b434afdf2 100644 |
| --- a/include/v8.h |
| +++ b/include/v8.h |
| @@ -3829,6 +3829,23 @@ class V8_EXPORT SharedArrayBuffer : public Object { |
| /** |
| + * An instance of Float32x4 constructor. |
| + * (ES7 draft http://littledan.github.io/simd.html). |
| + * This API is experimental and may change significantly. |
| + */ |
| +class V8_EXPORT Float32x4 : public Object { |
|
rossberg
2015/06/12 11:48:03
SIMDs aren't objects, so this needs to derive from
|
| + public: |
| + static Local<Float32x4> New(Isolate* isolate, float w, float x, float y, |
| + float z); |
| + V8_INLINE static Float32x4* Cast(Value* obj); |
| + |
| + private: |
| + Float32x4(); |
| + static void CheckCast(Value* obj); |
| +}; |
| + |
| + |
| +/** |
| * An instance of the built-in Date constructor (ECMA-262, 15.9). |
| */ |
| class V8_EXPORT Date : public Object { |
| @@ -6944,7 +6961,7 @@ class Internals { |
| static const int kJSObjectHeaderSize = 3 * kApiPointerSize; |
| static const int kFixedArrayHeaderSize = 2 * kApiPointerSize; |
| static const int kContextHeaderSize = 2 * kApiPointerSize; |
| - static const int kContextEmbedderDataIndex = 80; |
| + static const int kContextEmbedderDataIndex = 81; |
| static const int kFullStringRepresentationMask = 0x07; |
| static const int kStringEncodingMask = 0x4; |
| static const int kExternalTwoByteRepresentationTag = 0x02; |