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

Unified Diff: src/field-index.h

Issue 332663003: Revert "Reland 21774: Generate KeyedLoadGeneric with Hydrogen" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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/elements-kind.cc ('k') | src/field-index-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/field-index.h
diff --git a/src/field-index.h b/src/field-index.h
index 0f77c8c57e4481299ed83bd6c469c4dea5d20353..d7707648572ca922d09428a1adcdf08d81eac4c3 100644
--- a/src/field-index.h
+++ b/src/field-index.h
@@ -26,7 +26,9 @@ class FieldIndex V8_FINAL {
static FieldIndex ForLookupResult(const LookupResult* result);
static FieldIndex ForDescriptor(Map* map, int descriptor_index);
static FieldIndex ForLoadByFieldIndex(Map* map, int index);
- static FieldIndex ForKeyedLookupCacheIndex(Map* map, int index);
+ static FieldIndex ForKeyedLookupCacheIndex(Map* map, int index) {
+ return ForPropertyIndex(map, index);
+ }
bool is_inobject() const {
return IsInObjectBits::decode(bit_field_);
@@ -73,7 +75,9 @@ class FieldIndex V8_FINAL {
return is_double() ? (result | 1) : result;
}
- int GetKeyedLookupCacheIndex() const;
+ int GetKeyedLookupCacheIndex() const {
+ return property_index();
+ }
int GetLoadFieldStubKey() const {
return bit_field_ &
« no previous file with comments | « src/elements-kind.cc ('k') | src/field-index-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698