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

Unified Diff: src/objects.h

Issue 932533003: Remove the holder_ field from LookupResult (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 years, 10 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
« no previous file with comments | « src/hydrogen.cc ('k') | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 9221c629ce7e06739c60a83c66a7424acc5064cd..7944d8a0fe3d17984fc77d0a6a969e30163e1f01 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -5995,15 +5995,11 @@ class Map: public HeapObject {
cache->set(kProtoTransitionNumberOfEntriesOffset, Smi::FromInt(value));
}
- // Lookup in the map's instance descriptors and fill out the result
- // with the given holder if the name is found. The holder may be
- // NULL when this function is used from the compiler.
- inline void LookupDescriptor(JSObject* holder,
- Name* name,
- LookupResult* result);
+ // Lookup in the map's instance descriptors and fill out the result if the
+ // name is found.
+ inline void LookupDescriptor(Name* name, LookupResult* result);
- inline void LookupTransition(JSObject* holder, Name* name,
- PropertyAttributes attributes,
+ inline void LookupTransition(Name* name, PropertyAttributes attributes,
LookupResult* result);
inline PropertyDetails GetLastDescriptorDetails();
« no previous file with comments | « src/hydrogen.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698