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

Unified Diff: src/objects.h

Issue 1719903002: Fix AllocationSite body descriptor to include all pointer slots. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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 | « no previous file | src/profiler/heap-snapshot-generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 4efd5b31edb9ee7832697605903b274980e8c026..c67e2ef18719ed81d9659a9ec3977dccf2324e97 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -8367,9 +8367,8 @@ class AllocationSite: public Struct {
static const int kPointerFieldsEndOffset = kWeakNextOffset;
// For other visitors, use the fixed body descriptor below.
- typedef FixedBodyDescriptor<HeapObject::kHeaderSize,
- kDependentCodeOffset + kPointerSize,
- kSize> BodyDescriptor;
+ typedef FixedBodyDescriptor<HeapObject::kHeaderSize, kSize, kSize>
+ BodyDescriptor;
private:
inline bool PretenuringDecisionMade();
« no previous file with comments | « no previous file | src/profiler/heap-snapshot-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698