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

Unified Diff: include/v8.h

Issue 1160443009: Add SIMD.Float32x4 functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix compile. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « BUILD.gn ('k') | src/api.h » ('j') | src/harmony-simd.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « BUILD.gn ('k') | src/api.h » ('j') | src/harmony-simd.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698