Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index fcc6436e47748d636aba6eb46d20c679ffe8efb5..1ecacd8d16d72e03366651def33d20ff31d94649 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2361,6 +2361,10 @@ class JSObject: public JSReceiver { |
// been modified since it was created. May give false positives. |
bool IsDirty(); |
+ // If the receiver is a JSGlobalProxy this method will return its prototype, |
+ // otherwise the result is the receiver itself. |
+ inline Object* BypassGlobalProxy(); |
+ |
// Accessors for hidden properties object. |
// |
// Hidden properties are not local properties of the object itself. |