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

Unified Diff: src/lookup.h

Issue 2127583002: [runtime] Better encapsulation of dictionary objects handling in lookup iterator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fixes Created 4 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
« no previous file with comments | « src/ic/x87/handler-compiler-x87.cc ('k') | src/lookup.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lookup.h
diff --git a/src/lookup.h b/src/lookup.h
index 1b2ee220a1dd92d4a08304c4ce2237644a504539..a1e39599cc4b2b0769cc2bbe041c3f28cfc291de 100644
--- a/src/lookup.h
+++ b/src/lookup.h
@@ -190,6 +190,10 @@ class LookupIterator final BASE_EMBEDDED {
DCHECK_EQ(TRANSITION, state_);
return Handle<Map>::cast(transition_);
}
+ Handle<PropertyCell> transition_cell() const {
+ DCHECK_EQ(TRANSITION, state_);
+ return Handle<PropertyCell>::cast(transition_);
+ }
template <class T>
Handle<T> GetHolder() const {
DCHECK(IsFound());
« no previous file with comments | « src/ic/x87/handler-compiler-x87.cc ('k') | src/lookup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698