summaryrefslogtreecommitdiff
path: root/src/3rdparty/v8/src/factory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/v8/src/factory.cc')
-rw-r--r--src/3rdparty/v8/src/factory.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/3rdparty/v8/src/factory.cc b/src/3rdparty/v8/src/factory.cc
index a2bb939..c74ca54 100644
--- a/src/3rdparty/v8/src/factory.cc
+++ b/src/3rdparty/v8/src/factory.cc
@@ -1270,6 +1270,10 @@ Handle<JSFunction> Factory::CreateApiFunction(
// Set interceptor information in the map.
if (!obj->named_property_handler()->IsUndefined()) {
map->set_has_named_interceptor();
+ InterceptorInfo *nph = InterceptorInfo::cast(obj->named_property_handler());
+ bool is_fallback =
+ nph->is_fallback()->IsUndefined()?false:nph->is_fallback()->value();
+ map->set_named_interceptor_is_fallback(is_fallback);
}
if (!obj->indexed_property_handler()->IsUndefined()) {
map->set_has_indexed_interceptor();