Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 56cf5b30bf6ebdb20e5301359ef2c6c37acd9ff4..ed3ef551f86ca6a3dd6a365870731239dc06ab53 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -1195,8 +1195,8 @@ MaybeHandle<Object> Object::GetPropertyWithAccessor(LookupIterator* it) { |
Handle<Object> getter(AccessorPair::cast(*structure)->getter(), isolate); |
if (getter->IsFunctionTemplateInfo()) { |
return Builtins::InvokeApiFunction( |
- isolate, Handle<FunctionTemplateInfo>::cast(getter), receiver, 0, |
- nullptr); |
+ isolate, false, Handle<FunctionTemplateInfo>::cast(getter), receiver, 0, |
+ nullptr, isolate->factory()->undefined_value()); |
} else if (getter->IsCallable()) { |
// TODO(rossberg): nicer would be to cast to some JSCallable here... |
return Object::GetPropertyWithDefinedGetter( |
@@ -1278,8 +1278,9 @@ Maybe<bool> Object::SetPropertyWithAccessor(LookupIterator* it, |
Handle<Object> argv[] = {value}; |
RETURN_ON_EXCEPTION_VALUE( |
isolate, Builtins::InvokeApiFunction( |
- isolate, Handle<FunctionTemplateInfo>::cast(setter), |
- receiver, arraysize(argv), argv), |
+ isolate, false, Handle<FunctionTemplateInfo>::cast(setter), |
+ receiver, arraysize(argv), argv, |
+ isolate->factory()->undefined_value()), |
Nothing<bool>()); |
return Just(true); |
} else if (setter->IsCallable()) { |