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

Unified Diff: src/field-index.h

Issue 2180273002: [KeyedLoadIC] Support Smi "handlers" for element loads (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@keyed-load-ic-fieldindex
Patch Set: refactor according to review comments Created 4 years, 4 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
Index: src/field-index.h
diff --git a/src/field-index.h b/src/field-index.h
index d0ae2f27f9c7ba4ea391f2d779181ebfc3577594..2dace97ca582b0dd39844aec803390ada6f9aeaa 100644
--- a/src/field-index.h
+++ b/src/field-index.h
@@ -76,13 +76,6 @@ class FieldIndex final {
(IsInObjectBits::kMask | IsDoubleBits::kMask | IndexBits::kMask);
}
- // For GetLoadByFieldOffset.
- class FieldOffsetIsInobject : public BitField<bool, 1, 1> {};
- class FieldOffsetIsDouble : public BitField<bool, 2, 1> {};
- class FieldOffsetOffset : public BitField<int, 3, 27> {};
- // Make sure we don't overflow into the sign bit.
- STATIC_ASSERT(FieldOffsetOffset::kNext <= kSmiValueSize - 1);
-
private:
FieldIndex(bool is_inobject, int local_index, bool is_double,
int inobject_properties, int first_inobject_property_offset,

Powered by Google App Engine
This is Rietveld 408576698