Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index a86017528c960b8831626d9952a33c470a4e3dcd..0dc5d62be78c0058ff87718fd4a86ae9c6609980 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2322,6 +2322,8 @@ class JSObject: public JSReceiver { |
// Retrieve a value in a normalized object given a lookup result. |
// Handles the special representation of JS global objects. |
Object* GetNormalizedProperty(const LookupResult* result); |
+ static Handle<Object> GetNormalizedProperty(Handle<JSObject> object, |
+ const LookupResult* result); |
// Sets the property value in a normalized object given a lookup result. |
// Handles the special representation of JS global objects. |
@@ -2673,6 +2675,9 @@ class JSObject: public JSReceiver { |
static Handle<JSObject> DeepWalk(Handle<JSObject> object, |
AllocationSiteCreationContext* site_context); |
+ static Handle<Object> GetDataProperty(Handle<JSObject> object, |
+ Handle<Name> key); |
+ |
// Casting. |
static inline JSObject* cast(Object* obj); |