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

Side by Side Diff: src/objects.h

Issue 2444353002: [stubs] Port KeyedStoreIC_Megamorphic stub to Turbofan (Closed)
Patch Set: polishing Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 9148 matching lines...) Expand 10 before | Expand all | Expand 10 after
9159 AllocationSiteUpdateMode::kUpdate> 9159 AllocationSiteUpdateMode::kUpdate>
9160 static bool DigestTransitionFeedback(Handle<AllocationSite> site, 9160 static bool DigestTransitionFeedback(Handle<AllocationSite> site,
9161 ElementsKind to_kind); 9161 ElementsKind to_kind);
9162 9162
9163 DECLARE_PRINTER(AllocationSite) 9163 DECLARE_PRINTER(AllocationSite)
9164 DECLARE_VERIFIER(AllocationSite) 9164 DECLARE_VERIFIER(AllocationSite)
9165 9165
9166 DECLARE_CAST(AllocationSite) 9166 DECLARE_CAST(AllocationSite)
9167 static inline AllocationSiteMode GetMode( 9167 static inline AllocationSiteMode GetMode(
9168 ElementsKind boilerplate_elements_kind); 9168 ElementsKind boilerplate_elements_kind);
9169 static inline AllocationSiteMode GetMode(ElementsKind from, ElementsKind to); 9169 static AllocationSiteMode GetMode(ElementsKind from, ElementsKind to);
9170 static inline bool CanTrack(InstanceType type); 9170 static inline bool CanTrack(InstanceType type);
9171 9171
9172 static const int kTransitionInfoOffset = HeapObject::kHeaderSize; 9172 static const int kTransitionInfoOffset = HeapObject::kHeaderSize;
9173 static const int kNestedSiteOffset = kTransitionInfoOffset + kPointerSize; 9173 static const int kNestedSiteOffset = kTransitionInfoOffset + kPointerSize;
9174 static const int kPretenureDataOffset = kNestedSiteOffset + kPointerSize; 9174 static const int kPretenureDataOffset = kNestedSiteOffset + kPointerSize;
9175 static const int kPretenureCreateCountOffset = 9175 static const int kPretenureCreateCountOffset =
9176 kPretenureDataOffset + kPointerSize; 9176 kPretenureDataOffset + kPointerSize;
9177 static const int kDependentCodeOffset = 9177 static const int kDependentCodeOffset =
9178 kPretenureCreateCountOffset + kPointerSize; 9178 kPretenureCreateCountOffset + kPointerSize;
9179 static const int kWeakNextOffset = kDependentCodeOffset + kPointerSize; 9179 static const int kWeakNextOffset = kDependentCodeOffset + kPointerSize;
(...skipping 2604 matching lines...) Expand 10 before | Expand all | Expand 10 after
11784 } 11784 }
11785 return value; 11785 return value;
11786 } 11786 }
11787 }; 11787 };
11788 11788
11789 11789
11790 } // NOLINT, false-positive due to second-order macros. 11790 } // NOLINT, false-positive due to second-order macros.
11791 } // NOLINT, false-positive due to second-order macros. 11791 } // NOLINT, false-positive due to second-order macros.
11792 11792
11793 #endif // V8_OBJECTS_H_ 11793 #endif // V8_OBJECTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698