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

Unified Diff: src/objects.h

Issue 2389963007: Revert of [heap] Simplify marking of JSFunction and SFI (Closed)
Patch Set: Created 4 years, 2 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/heap/objects-visiting-inl.h ('k') | no next file » | 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 f93ec103b71d76bd232c687cd00aff338f3ceb08..fc7dcff4549b608c8cadf09b14d0630c99d4ef60 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -7543,9 +7543,9 @@
// Layout description.
// Pointer fields.
- static const int kCodeOffset = HeapObject::kHeaderSize;
- static const int kNameOffset = kCodeOffset + kPointerSize;
- static const int kOptimizedCodeMapOffset = kNameOffset + kPointerSize;
+ static const int kNameOffset = HeapObject::kHeaderSize;
+ static const int kCodeOffset = kNameOffset + kPointerSize;
+ static const int kOptimizedCodeMapOffset = kCodeOffset + kPointerSize;
static const int kScopeInfoOffset = kOptimizedCodeMapOffset + kPointerSize;
static const int kOuterScopeInfoOffset = kScopeInfoOffset + kPointerSize;
static const int kConstructStubOffset = kOuterScopeInfoOffset + kPointerSize;
@@ -7670,12 +7670,9 @@
static const int kAlignedSize = POINTER_SIZE_ALIGN(kSize);
- typedef FixedBodyDescriptor<kCodeOffset,
- kLastPointerFieldOffset + kPointerSize, kSize>
- BodyDescriptor;
typedef FixedBodyDescriptor<kNameOffset,
- kLastPointerFieldOffset + kPointerSize, kSize>
- BodyDescriptorWeakCode;
+ kLastPointerFieldOffset + kPointerSize,
+ kSize> BodyDescriptor;
// Bit positions in start_position_and_type.
// The source code start position is in the 30 most significant bits of
« no previous file with comments | « src/heap/objects-visiting-inl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698