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

Unified 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: A few more tests. Created 5 years, 7 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 | « no previous file | include/v8-profiler.h » ('j') | src/factory.h » ('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 cf90a36979afabfab8ebd4363520123403501493..7e6945886038489dc66f8c6f22a9f6b07c8a4ed6 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -1924,6 +1924,12 @@ class V8_EXPORT Value : public Data {
bool IsFloat64Array() const;
/**
+ * Returns true if this value is a SIMD Float32x4.
+ * This is an experimental feature.
+ */
+ bool IsFloat32x4() const;
+
+ /**
* Returns true if this value is a DataView.
* This is an experimental feature.
*/
@@ -6949,10 +6955,10 @@ class Internals {
static const int kNodeIsIndependentShift = 3;
static const int kNodeIsPartiallyDependentShift = 4;
- static const int kJSObjectType = 0xbd;
+ static const int kJSObjectType = 0xbe;
static const int kFirstNonstringType = 0x80;
static const int kOddballType = 0x83;
- static const int kForeignType = 0x86;
+ static const int kForeignType = 0x87;
static const int kUndefinedOddballKind = 5;
static const int kNullOddballKind = 3;
« no previous file with comments | « no previous file | include/v8-profiler.h » ('j') | src/factory.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698