Index: src/property-details.h |
diff --git a/src/property-details.h b/src/property-details.h |
index fdf2c6c4ab5fc0c6cec0d00921583451c5c7848a..8df7307be5af7f7d4da3bb75ad20d2506e709145 100644 |
--- a/src/property-details.h |
+++ b/src/property-details.h |
@@ -53,7 +53,18 @@ STATIC_ASSERT(ONLY_ENUMERABLE == static_cast<PropertyFilter>(DONT_ENUM)); |
STATIC_ASSERT(ONLY_CONFIGURABLE == static_cast<PropertyFilter>(DONT_DELETE)); |
STATIC_ASSERT(((SKIP_STRINGS | SKIP_SYMBOLS | ONLY_ALL_CAN_READ) & |
ALL_ATTRIBUTES_MASK) == 0); |
- |
+STATIC_ASSERT(ALL_PROPERTIES == |
+ static_cast<PropertyFilter>(v8::PropertyFilter::ALL_PROPERTIES)); |
+STATIC_ASSERT(ONLY_WRITABLE == |
+ static_cast<PropertyFilter>(v8::PropertyFilter::ONLY_WRITABLE)); |
+STATIC_ASSERT(ONLY_ENUMERABLE == |
+ static_cast<PropertyFilter>(v8::PropertyFilter::ONLY_ENUMERABLE)); |
+STATIC_ASSERT(ONLY_CONFIGURABLE == static_cast<PropertyFilter>( |
+ v8::PropertyFilter::ONLY_CONFIGURABLE)); |
+STATIC_ASSERT(SKIP_STRINGS == |
+ static_cast<PropertyFilter>(v8::PropertyFilter::SKIP_STRINGS)); |
+STATIC_ASSERT(SKIP_SYMBOLS == |
+ static_cast<PropertyFilter>(v8::PropertyFilter::SKIP_SYMBOLS)); |
class Smi; |
class Type; |