Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 7efe15e87800be3314dd15737c9ac9d5f5a34146..d4278dfaf80fc0878743bf286e555992fe15510d 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -4772,6 +4772,11 @@ Object* JSReceiver::GetPrototype() { |
} |
+Object* JSReceiver::GetConstructor() { |
+ return map()->constructor(); |
+} |
+ |
+ |
bool JSReceiver::HasProperty(String* name) { |
if (IsJSProxy()) { |
return JSProxy::cast(this)->HasPropertyWithHandler(name); |