summaryrefslogtreecommitdiff
path: root/deps/v8/include/v8.h
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2015-02-25 12:18:50 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2015-02-25 19:34:28 +0100
commita558cd0a619a74dd69e212c79a909b8654942db2 (patch)
tree2a9442261aaaa449cc8b78e3272a6057e759438c /deps/v8/include/v8.h
parent54532a9761f616dac1ff36d602bd5ae8c1dce7f6 (diff)
downloadnode-new-a558cd0a619a74dd69e212c79a909b8654942db2.tar.gz
deps: revert v8 abi change
Undo the ABI (but not API) change to NamedPropertyHandlerConfiguration. This avoids a NODE_MODULE_VERSION bump and forcing everyone to recompile their add-ons, at the cost of increasing the delta with upstream V8. This commit effectively backs out 4.1.0.16, the release that introduced the ABI change (and nothing else.) PR-URL: https://github.com/iojs/io.js/pull/952 Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Rod Vagg <rod@vagg.org>
Diffstat (limited to 'deps/v8/include/v8.h')
-rw-r--r--deps/v8/include/v8.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/deps/v8/include/v8.h b/deps/v8/include/v8.h
index 27aa5c12d1..d35f2fcb27 100644
--- a/deps/v8/include/v8.h
+++ b/deps/v8/include/v8.h
@@ -3899,9 +3899,6 @@ class V8_EXPORT FunctionTemplate : public Template {
};
-enum class PropertyHandlerFlags { kNone = 0, kAllCanRead = 1 };
-
-
struct NamedPropertyHandlerConfiguration {
NamedPropertyHandlerConfiguration(
/** Note: getter is required **/
@@ -3910,15 +3907,13 @@ struct NamedPropertyHandlerConfiguration {
GenericNamedPropertyQueryCallback query = 0,
GenericNamedPropertyDeleterCallback deleter = 0,
GenericNamedPropertyEnumeratorCallback enumerator = 0,
- Handle<Value> data = Handle<Value>(),
- PropertyHandlerFlags flags = PropertyHandlerFlags::kNone)
+ Handle<Value> data = Handle<Value>())
: getter(getter),
setter(setter),
query(query),
deleter(deleter),
enumerator(enumerator),
- data(data),
- flags(flags) {}
+ data(data) {}
GenericNamedPropertyGetterCallback getter;
GenericNamedPropertySetterCallback setter;
@@ -3926,7 +3921,6 @@ struct NamedPropertyHandlerConfiguration {
GenericNamedPropertyDeleterCallback deleter;
GenericNamedPropertyEnumeratorCallback enumerator;
Handle<Value> data;
- PropertyHandlerFlags flags;
};
@@ -3938,15 +3932,13 @@ struct IndexedPropertyHandlerConfiguration {
IndexedPropertyQueryCallback query = 0,
IndexedPropertyDeleterCallback deleter = 0,
IndexedPropertyEnumeratorCallback enumerator = 0,
- Handle<Value> data = Handle<Value>(),
- PropertyHandlerFlags flags = PropertyHandlerFlags::kNone)
+ Handle<Value> data = Handle<Value>())
: getter(getter),
setter(setter),
query(query),
deleter(deleter),
enumerator(enumerator),
- data(data),
- flags(flags) {}
+ data(data) {}
IndexedPropertyGetterCallback getter;
IndexedPropertySetterCallback setter;
@@ -3954,7 +3946,6 @@ struct IndexedPropertyHandlerConfiguration {
IndexedPropertyDeleterCallback deleter;
IndexedPropertyEnumeratorCallback enumerator;
Handle<Value> data;
- PropertyHandlerFlags flags;
};