Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(724)

Unified Diff: src/objects-inl.h

Issue 384963002: ES6 Unscopables (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index 7fa2a0e0cfd45c007182aa181523905b87b8af62..d5bd72eedf9c6a3de1d3532e76a6a9c9ef551295 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -1146,6 +1146,14 @@ MaybeHandle<Object> Object::GetProperty(Isolate* isolate,
}
+MaybeHandle<Object> Object::GetPropertyWithReceiver(Handle<JSReceiver> holder,
rossberg 2014/07/11 11:59:06 I'd prefer to inline this function, it doesn't see
arv (Not doing code reviews) 2014/07/11 21:47:28 Done.
+ Handle<Object> receiver,
+ Handle<Name> name) {
+ LookupIterator it(receiver, name, holder);
+ return GetProperty(&it);
+}
+
+
MaybeHandle<Object> JSProxy::GetElementWithHandler(Handle<JSProxy> proxy,
Handle<Object> receiver,
uint32_t index) {
« no previous file with comments | « src/objects.h ('k') | src/runtime.cc » ('j') | test/mjsunit/harmony/unscopables.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698