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

Side by Side Diff: src/objects.h

Issue 2444353002: [stubs] Port KeyedStoreIC_Megamorphic stub to Turbofan (Closed)
Patch Set: rebased 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 9185 matching lines...) Expand 10 before | Expand all | Expand 10 after
9196 AllocationSiteUpdateMode::kUpdate> 9196 AllocationSiteUpdateMode::kUpdate>
9197 static bool DigestTransitionFeedback(Handle<AllocationSite> site, 9197 static bool DigestTransitionFeedback(Handle<AllocationSite> site,
9198 ElementsKind to_kind); 9198 ElementsKind to_kind);
9199 9199
9200 DECLARE_PRINTER(AllocationSite) 9200 DECLARE_PRINTER(AllocationSite)
9201 DECLARE_VERIFIER(AllocationSite) 9201 DECLARE_VERIFIER(AllocationSite)
9202 9202
9203 DECLARE_CAST(AllocationSite) 9203 DECLARE_CAST(AllocationSite)
9204 static inline AllocationSiteMode GetMode( 9204 static inline AllocationSiteMode GetMode(
9205 ElementsKind boilerplate_elements_kind); 9205 ElementsKind boilerplate_elements_kind);
9206 static inline AllocationSiteMode GetMode(ElementsKind from, ElementsKind to); 9206 static AllocationSiteMode GetMode(ElementsKind from, ElementsKind to);
9207 static inline bool CanTrack(InstanceType type); 9207 static inline bool CanTrack(InstanceType type);
9208 9208
9209 static const int kTransitionInfoOffset = HeapObject::kHeaderSize; 9209 static const int kTransitionInfoOffset = HeapObject::kHeaderSize;
9210 static const int kNestedSiteOffset = kTransitionInfoOffset + kPointerSize; 9210 static const int kNestedSiteOffset = kTransitionInfoOffset + kPointerSize;
9211 static const int kPretenureDataOffset = kNestedSiteOffset + kPointerSize; 9211 static const int kPretenureDataOffset = kNestedSiteOffset + kPointerSize;
9212 static const int kPretenureCreateCountOffset = 9212 static const int kPretenureCreateCountOffset =
9213 kPretenureDataOffset + kPointerSize; 9213 kPretenureDataOffset + kPointerSize;
9214 static const int kDependentCodeOffset = 9214 static const int kDependentCodeOffset =
9215 kPretenureCreateCountOffset + kPointerSize; 9215 kPretenureCreateCountOffset + kPointerSize;
9216 static const int kWeakNextOffset = kDependentCodeOffset + kPointerSize; 9216 static const int kWeakNextOffset = kDependentCodeOffset + kPointerSize;
(...skipping 2604 matching lines...) Expand 10 before | Expand all | Expand 10 after
11821 } 11821 }
11822 return value; 11822 return value;
11823 } 11823 }
11824 }; 11824 };
11825 11825
11826 11826
11827 } // NOLINT, false-positive due to second-order macros. 11827 } // NOLINT, false-positive due to second-order macros.
11828 } // NOLINT, false-positive due to second-order macros. 11828 } // NOLINT, false-positive due to second-order macros.
11829 11829
11830 #endif // V8_OBJECTS_H_ 11830 #endif // V8_OBJECTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698