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

Unified Diff: src/property.h

Issue 10808005: When following an accessor transition for an already existing accessor, don't load the last added d… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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/objects.cc ('k') | test/mjsunit/regress/regress-crbug-137689.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/property.h
diff --git a/src/property.h b/src/property.h
index a94754061a2ec6bbf0f8cb38e1f06af3a3cfab9f..78f30efca3e75ba903a19085b784b44fa1730b18 100644
--- a/src/property.h
+++ b/src/property.h
@@ -328,6 +328,11 @@ class LookupResult BASE_EMBEDDED {
return number_;
}
+ int GetDescriptorIndex() {
+ ASSERT(lookup_type_ == DESCRIPTOR_TYPE);
+ return number_;
+ }
+
int GetFieldIndex() {
ASSERT(lookup_type_ == DESCRIPTOR_TYPE);
ASSERT(IsField());
« no previous file with comments | « src/objects.cc ('k') | test/mjsunit/regress/regress-crbug-137689.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698