summaryrefslogtreecommitdiff
path: root/deps/v8/src/objects/api-callbacks-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/objects/api-callbacks-inl.h')
-rw-r--r--deps/v8/src/objects/api-callbacks-inl.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/deps/v8/src/objects/api-callbacks-inl.h b/deps/v8/src/objects/api-callbacks-inl.h
index b8ca8bef20..894f13ffe8 100644
--- a/deps/v8/src/objects/api-callbacks-inl.h
+++ b/deps/v8/src/objects/api-callbacks-inl.h
@@ -8,6 +8,8 @@
#include "src/objects/api-callbacks.h"
#include "src/heap/heap-inl.h"
+#include "src/heap/heap-write-barrier.h"
+#include "src/objects/foreign-inl.h"
#include "src/objects/name.h"
#include "src/objects/templates.h"
@@ -17,6 +19,11 @@
namespace v8 {
namespace internal {
+OBJECT_CONSTRUCTORS_IMPL(AccessCheckInfo, Struct)
+OBJECT_CONSTRUCTORS_IMPL(AccessorInfo, Struct)
+OBJECT_CONSTRUCTORS_IMPL(InterceptorInfo, Struct)
+OBJECT_CONSTRUCTORS_IMPL(CallHandlerInfo, Tuple3)
+
CAST_ACCESSOR(AccessorInfo)
CAST_ACCESSOR(AccessCheckInfo)
CAST_ACCESSOR(InterceptorInfo)
@@ -78,7 +85,7 @@ void AccessorInfo::set_setter_side_effect_type(SideEffectType value) {
BIT_FIELD_ACCESSORS(AccessorInfo, flags, initial_property_attributes,
AccessorInfo::InitialAttributesBits)
-bool AccessorInfo::IsCompatibleReceiver(Object* receiver) {
+bool AccessorInfo::IsCompatibleReceiver(Object receiver) {
if (!HasExpectedReceiverType()) return true;
if (!receiver->IsJSObject()) return false;
return FunctionTemplateInfo::cast(expected_receiver_type())