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

Unified Diff: src/lookup.cc

Issue 2438553003: [ic] Support data handlers that represent simple field stores. (Closed)
Patch Set: One more fix for GC stress issues Created 4 years, 2 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
« src/ic/ic.cc ('K') | « src/lookup.h ('k') | src/type-feedback-vector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lookup.cc
diff --git a/src/lookup.cc b/src/lookup.cc
index 3921e1657c8511b5de5a1d96b6f802ae1649bbf0..1527032af76330bbe933391bc3078f09a2b64d3f 100644
--- a/src/lookup.cc
+++ b/src/lookup.cc
@@ -593,6 +593,12 @@ Handle<Object> LookupIterator::FetchValue() const {
return handle(result, isolate_);
}
+int LookupIterator::GetFieldDescriptorIndex() const {
+ DCHECK(has_property_);
+ DCHECK(holder_->HasFastProperties());
+ DCHECK_EQ(v8::internal::DATA, property_details_.type());
+ return descriptor_number();
+}
int LookupIterator::GetAccessorIndex() const {
DCHECK(has_property_);
« src/ic/ic.cc ('K') | « src/lookup.h ('k') | src/type-feedback-vector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698